From: nds Date: Wed, 29 Apr 2015 15:16:28 +0000 (+0300) Subject: Do not use align to the left in the page group box widget. X-Git-Tag: V_1.2.0~178^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d9db8b41eb27de49dccaa8334967703a9ba865af;p=modules%2Fshaper.git 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. --- 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); }