X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_PageGroupBox.cpp;h=1631a8726977793d1572ab557a586a6466d98953;hb=af851100774c4ff33b515c884abe0cd03c3f0528;hp=f16e4d728b2ef247f4afeaf3140dad314b8003bf;hpb=70b63231279a083e2c9c0281b1ad28dd6d4fba82;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_PageGroupBox.cpp b/src/ModuleBase/ModuleBase_PageGroupBox.cpp index f16e4d728..1631a8726 100644 --- a/src/ModuleBase/ModuleBase_PageGroupBox.cpp +++ b/src/ModuleBase/ModuleBase_PageGroupBox.cpp @@ -32,6 +32,8 @@ void ModuleBase_PageGroupBox::placeModelWidget(ModuleBase_ModelWidget* theWidget const int kCol = 0; const int kRow = myMainLayout->count(); myMainLayout->addWidget(theWidget, kRow, kCol, Qt::AlignTop | Qt::AlignLeft); + myMainLayout->setRowStretch(kRow, 0); + } void ModuleBase_PageGroupBox::placePageWidget(ModuleBase_PageBase* theWidget) @@ -45,7 +47,8 @@ void ModuleBase_PageGroupBox::placePageWidget(ModuleBase_PageBase* theWidget) } const int kCol = 0; const int kRow = myMainLayout->count(); - myMainLayout->addWidget(aWidget, kRow, kCol, Qt::AlignTop | Qt::AlignLeft); + myMainLayout->addWidget(aWidget, kRow, kCol); + myMainLayout->setRowStretch(kRow, 0); } QLayout* ModuleBase_PageGroupBox::pageLayout()