From: vsr Date: Mon, 16 Apr 2007 13:44:39 +0000 (+0000) Subject: PAL15614: Incorrect size of window for More...(selecting of every product) in maximiz... X-Git-Tag: before_fedora6~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2470c55544ea86590771879705e966b5c50f090;p=tools%2Finstall.git PAL15614: Incorrect size of window for More...(selecting of every product) in maximize mode. --- diff --git a/src/SALOME_InstallWizard.cxx b/src/SALOME_InstallWizard.cxx index 3a8121d..bca0109 100644 --- a/src/SALOME_InstallWizard.cxx +++ b/src/SALOME_InstallWizard.cxx @@ -720,10 +720,12 @@ void SALOME_InstallWizard::setupProductsPage(const bool forceSrc) sizeLayout->addWidget( requiredSize, 0, 1 ); sizeLayout->addWidget( reqLab2, 1, 0 ); sizeLayout->addWidget( requiredTemp, 1, 1 ); + // / box super-container :) + QVBox* moreLessBox = new QVBox( productsPage ); // // create mode widgets container // - moreBox = new QWidget( productsPage ); + moreBox = new QWidget( moreLessBox ); QGridLayout* moreBoxLayout = new QGridLayout( moreBox ); moreBoxLayout->setMargin( 0 ); moreBoxLayout->setSpacing( 6 ); // @@ -770,7 +772,7 @@ void SALOME_InstallWizard::setupProductsPage(const bool forceSrc) // // create mode widgets container // - lessBox = new QWidget( productsPage ); + lessBox = new QWidget( moreLessBox ); QGridLayout* lessBoxLayout = new QGridLayout( lessBox ); lessBoxLayout->setMargin( 0 ); lessBoxLayout->setSpacing( 6 ); // @@ -798,13 +800,10 @@ void SALOME_InstallWizard::setupProductsPage(const bool forceSrc) pageLayout->addMultiCellWidget( tempLab, 2, 2, 0, 1 ); pageLayout->addWidget ( tempFolder, 3, 0 ); pageLayout->addWidget ( tempBtn, 3, 1 ); - pageLayout->addMultiCellWidget( moreBox, 4, 4, 0, 1 ); - pageLayout->addMultiCellWidget( lessBox, 5, 5, 0, 1 ); - pageLayout->addMultiCellWidget( line, 6, 6, 0, 1 ); - pageLayout->addLayout ( sizeLayout, 7, 0 ); - pageLayout->addWidget ( moreBtn, 7, 1 ); - pageLayout->setRowStretch( 4, 5 ); - pageLayout->setRowStretch( 5, 5 ); + pageLayout->addMultiCellWidget( moreLessBox, 4, 4, 0, 1 ); + pageLayout->addMultiCellWidget( line, 5, 5, 0, 1 ); + pageLayout->addLayout ( sizeLayout, 6, 0 ); + pageLayout->addWidget ( moreBtn, 6, 1 ); // // xml reader //