From 7a24f17f92b323142ceacb9f831e1a4ef4f60c23 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 28 Apr 2008 15:01:09 +0000 Subject: [PATCH] To fix bugs with widget layouting --- src/VISUGUI/VisuGUI_CacheDlg.cxx | 1 + src/VISUGUI/VisuGUI_Slider.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_CacheDlg.cxx b/src/VISUGUI/VisuGUI_CacheDlg.cxx index 8af76f26..638d94a8 100644 --- a/src/VISUGUI/VisuGUI_CacheDlg.cxx +++ b/src/VISUGUI/VisuGUI_CacheDlg.cxx @@ -141,6 +141,7 @@ VisuGUI_CacheDlg::VisuGUI_CacheDlg( VISU::ColoredPrs3dCache_var theCache, // Ok / Cancel QGroupBox* GroupButtons = new QGroupBox( this ); + aTopLayout->addWidget( GroupButtons ); //GroupButtons->setColumnLayout(0, Qt::Vertical ); //GroupButtons->layout()->setSpacing( 0 ); //GroupButtons->layout()->setMargin( 0 ); diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index 72d280e1..64379d60 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -109,7 +109,7 @@ VisuGUI_Slider::VisuGUI_Slider( VisuGUI_Module* theModule, mySlider->setOrientation( Qt::Horizontal ); mySlider->setTracking( false ); mySlider->setFocusPolicy(Qt::StrongFocus); - aLayout->addWidget( mySlider, 0, 1, 1, 9 ); + aLayout->addWidget( mySlider, 0, 1, 1, 8 ); myLastTimeStamp = new QLabel( aWidget ); myLastTimeStamp->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); -- 2.39.2