From: vsv Date: Wed, 25 Jul 2018 15:06:33 +0000 (+0300) Subject: Issue #2574: Set stretch factor for added widget X-Git-Tag: SHAPER_V9_1_0RC1~105 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b303db5dadecd329d1b9749110dd08ebff2294ab;p=modules%2Fshaper.git Issue #2574: Set stretch factor for added widget --- diff --git a/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp b/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp index 63cd53da2..d9d96157c 100755 --- a/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp +++ b/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp @@ -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);