X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_PageGroupBox.cpp;h=1631a8726977793d1572ab557a586a6466d98953;hb=af851100774c4ff33b515c884abe0cd03c3f0528;hp=1043a02fb35623f181835357bec29666f381fc88;hpb=2734393c7c19899fca7e7c36577b31317887a9c9;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_PageGroupBox.cpp b/src/ModuleBase/ModuleBase_PageGroupBox.cpp index 1043a02fb..1631a8726 100644 --- a/src/ModuleBase/ModuleBase_PageGroupBox.cpp +++ b/src/ModuleBase/ModuleBase_PageGroupBox.cpp @@ -23,11 +23,17 @@ ModuleBase_PageGroupBox::~ModuleBase_PageGroupBox() { } +void ModuleBase_PageGroupBox::addPageStretch() +{ +} + 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) @@ -41,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()