From d9db8b41eb27de49dccaa8334967703a9ba865af Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 29 Apr 2015 18:16:28 +0300 Subject: [PATCH] Do not use align to the left in the page group box widget. Test case is: start sketch, create segments, start translation/rotation. The grouped controls are not extended to all possible width of the property panel. --- src/ModuleBase/ModuleBase_PageGroupBox.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_PageGroupBox.cpp b/src/ModuleBase/ModuleBase_PageGroupBox.cpp index 1631a8726..d50d3a594 100644 --- a/src/ModuleBase/ModuleBase_PageGroupBox.cpp +++ b/src/ModuleBase/ModuleBase_PageGroupBox.cpp @@ -31,7 +31,10 @@ 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); + // 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); } -- 2.39.2