From ad85d1b25084affa1162b441d6ea5f3ae22e4173 Mon Sep 17 00:00:00 2001 From: "(=YG=) Hyunseok Yang" Date: Mon, 6 Nov 2023 18:56:48 +0900 Subject: [PATCH] Modfiy group box size for UI --- src/panels/jog_control_panel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panels/jog_control_panel.cpp b/src/panels/jog_control_panel.cpp index 7a46701..c4b4807 100644 --- a/src/panels/jog_control_panel.cpp +++ b/src/panels/jog_control_panel.cpp @@ -161,6 +161,7 @@ void JogControlPanel::initializeLayout() groupBoxA->setLayout(form); groupBoxA->setStyleSheet(group_style); + groupBoxA->setFixedHeight(140); } auto groupBoxC = new QGroupBox("Joints States && Command"); @@ -235,8 +236,6 @@ void JogControlPanel::initializeLayout() auto main_layout = new QVBoxLayout(); main_layout->setContentsMargins(3, 3, 3, 3); - // main_layout->setSizeConstraint(QLayout::SetMinimumSize); - // main_layout->setSizeConstraint(QLayout::SetMinAndMaxSize); main_layout->addWidget(groupBoxA); main_layout->addWidget(groupBoxC);