From b303db5dadecd329d1b9749110dd08ebff2294ab Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 25 Jul 2018 18:06:33 +0300 Subject: [PATCH] Issue #2574: Set stretch factor for added widget --- src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2