From 7f52ad4c4264db5bf30a9b3096139481eec37a96 Mon Sep 17 00:00:00 2001 From: KhalilSelyan Date: Fri, 17 May 2024 19:38:07 +0300 Subject: [PATCH] less width on custom switch Signed-off-by: KhalilSelyan --- common/tier4_state_rviz_plugin/src/custom_toggle_switch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tier4_state_rviz_plugin/src/custom_toggle_switch.cpp b/common/tier4_state_rviz_plugin/src/custom_toggle_switch.cpp index 620736515cf97..f73a8e8e0b906 100644 --- a/common/tier4_state_rviz_plugin/src/custom_toggle_switch.cpp +++ b/common/tier4_state_rviz_plugin/src/custom_toggle_switch.cpp @@ -9,7 +9,7 @@ CustomToggleSwitch::CustomToggleSwitch(QWidget * parent) : QCheckBox(parent), is QSize CustomToggleSwitch::sizeHint() const { - return QSize(60, 30); // Preferred size of the toggle switch + return QSize(50, 30); // Preferred size of the toggle switch } void CustomToggleSwitch::paintEvent(QPaintEvent *)