{
const int kCol = 0;
const int kRow = myMainLayout->count();
- myMainLayout->addWidget(theWidget, kRow, kCol, Qt::AlignTop | Qt::AlignLeft);
+ // it seems, that the align on left is not necessary here, but leads to widgets, which are
+ // not extended on full width of the parent page. The case is grouped widgets in
+ // the sketch translation operation
+ myMainLayout->addWidget(theWidget, kRow, kCol, Qt::AlignTop);// | Qt::AlignLeft);
+ myMainLayout->setRowStretch(kRow, 0);
+
}
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()