#include <QGridLayout>
+#include <iostream>
+
ModuleBase_PageWidget::ModuleBase_PageWidget(QWidget* theParent)
: QFrame(theParent)
{
const int kCol = 0;
const int kRow = myMainLayout->count();
myMainLayout->addWidget(theWidget, kRow, kCol);
+ myMainLayout->setRowStretch(kRow, 0);
}
void ModuleBase_PageWidget::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_PageWidget::pageLayout()