]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Bug IPAL19307 - Qt4 porting. Cut Lines. Generate Curves check box has wrong position.
authorouv <ouv@opencascade.com>
Wed, 19 Mar 2008 11:51:47 +0000 (11:51 +0000)
committerouv <ouv@opencascade.com>
Wed, 19 Mar 2008 11:51:47 +0000 (11:51 +0000)
src/VISUGUI/VisuGUI_CutLinesDlg.cxx

index fa912c83aa1a9ecbf57e449495f402bc00f5ac6e..35b3e064356b00026bcd4fe130d175d78cc73b78 100644 (file)
@@ -180,17 +180,14 @@ VisuGUI_CutLinesDlg::VisuGUI_CutLinesDlg (SalomeApp_Module* theModule)
   aPlaneLayout->addWidget( myCreateTable );
 
   QWidget* aCheckPane = new QWidget(aPlanePane);
-  aHBLay = new QHBoxLayout( aCheckPane ); 
-  QLabel* aLbl = new QLabel("   ", aCheckPane);
-  aHBLay->addWidget( aLbl );
-  aHBLay->setStretchFactor(aLbl, 0);
+  aHBLay = new QHBoxLayout( aCheckPane );
+  aHBLay->setMargin( 0 );
+  aHBLay->setSpacing( 0 );
+  aHBLay->insertSpacing( 0, 20 );
   myCurvesCheck = new QCheckBox(tr("LBL_GENERATE_CURVES"), aCheckPane);
   aHBLay->addWidget( myCurvesCheck );
-  aHBLay->setStretchFactor(aCheckPane, 0);
   myCurvesCheck->setChecked( aResourceMgr->booleanValue("VISU", "generate_curves", true) );
   myCurvesCheck->setEnabled( aResourceMgr->booleanValue("VISU", "generate_data_table", true) );
-  QLabel* aLbl2 = new QLabel("   ", aCheckPane);
-  aHBLay->setStretchFactor(aLbl2, 1);
   aPlaneLayout->addWidget( aCheckPane );
 
   aPlaneLayout->addStretch();