From: apo Date: Mon, 28 Apr 2008 15:01:09 +0000 (+0000) Subject: To fix bugs with widget layouting X-Git-Tag: V5_0_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7a24f17f92b323142ceacb9f831e1a4ef4f60c23;p=modules%2Fvisu.git To fix bugs with widget layouting --- 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);