summaryrefslogtreecommitdiff
path: root/fluid/factory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/factory.cxx')
-rw-r--r--fluid/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx
index 7bd93f946..707a5b71d 100644
--- a/fluid/factory.cxx
+++ b/fluid/factory.cxx
@@ -1195,7 +1195,7 @@ Fl_Type *add_new_widget_from_user(Fl_Type *inPrototype, Strategy strategy) {
wt->ideal_size(w, h);
if ((t->parent && t->parent->is_a(ID_Flex))) {
- // Do not resize or layout the widget. Flex will need the widget size.
+ t->parent->layout_widget();
} else if ( wt->is_a(ID_Group)
&& wt->parent
&& wt->parent->is_a(ID_Tabs)