]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2574: Set stretch factor for added widget
authorvsv <vsv@opencascade.com>
Wed, 25 Jul 2018 15:06:33 +0000 (18:06 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Fri, 10 Aug 2018 07:35:56 +0000 (10:35 +0300)
src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp

index 63cd53da213d024b46d26054a85dbdf9627ea6e2..d9d96157cb69c6ea18ec8d51bb2954c1ad41e518 100755 (executable)
@@ -94,7 +94,7 @@ void ModuleBase_WidgetOptionalBox::placeModelWidget(ModuleBase_ModelWidget* theW
     setOptionType(CheckBox);
 
     myCheckBoxWidget = theWidget; /// check box frame becomes filled
-    myCheckBoxLayout->addWidget(theWidget);
+    myCheckBoxLayout->addWidget(theWidget, 1);
   }
   else {
     createControl(GroupBox);