From 982372b764c3ab249d50571590b9203460499b34 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 19 Mar 2008 11:51:47 +0000 Subject: [PATCH] Bug IPAL19307 - Qt4 porting. Cut Lines. Generate Curves check box has wrong position. --- src/VISUGUI/VisuGUI_CutLinesDlg.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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(); -- 2.39.2