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();