]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To fix bugs with widget layouting V5_0_0 V5_0_0rc1
authorapo <apo@opencascade.com>
Mon, 28 Apr 2008 15:01:09 +0000 (15:01 +0000)
committerapo <apo@opencascade.com>
Mon, 28 Apr 2008 15:01:09 +0000 (15:01 +0000)
src/VISUGUI/VisuGUI_CacheDlg.cxx
src/VISUGUI/VisuGUI_Slider.cxx

index 8af76f265a282d57d6584d1a7e4be87297c6b19f..638d94a8537496a86fba05f48caf91159b44c5bc 100644 (file)
@@ -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 );
index 72d280e1f84a5b70d41d833293982af2eaefdf9a..64379d60b13ed6b4b51d360e32eef9e76f4364e1 100644 (file)
@@ -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);