Salome HOME
Issue #720:Set cursor at the same position at editing of text in spin box
[modules/shaper.git] / src / ModuleBase / ModuleBase_PageGroupBox.cpp
index 1631a8726977793d1572ab557a586a6466d98953..d50d3a594f08c08df1c6751299178909bf82a54c 100644 (file)
@@ -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);
 
 }