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~73^2~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d20b5a3ad22e2669eb0d9d0632b54f2a456194d0;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);