From: ouv Date: Wed, 19 Mar 2008 11:51:47 +0000 (+0000) Subject: Bug IPAL19307 - Qt4 porting. Cut Lines. Generate Curves check box has wrong position. X-Git-Tag: V5_0_0a1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=982372b764c3ab249d50571590b9203460499b34;p=modules%2Fvisu.git Bug IPAL19307 - Qt4 porting. Cut Lines. Generate Curves check box has wrong position. --- diff --git a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx index fa912c83..35b3e064 100644 --- a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx @@ -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();