From 4b5985eb49e057aa69b8ba4e91d0ad11e1cc87ff Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 27 Oct 2023 18:31:14 +0200 Subject: FLUID: Fixes issues when pasting widget into Fl_Flex #809 * new virtual function layout_widget() to inform parents after all children were added --- fluid/Fl_Widget_Type.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'fluid/Fl_Widget_Type.cxx') diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 11bc15ee3..f4e33232c 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -268,6 +268,7 @@ Fl_Type *sort(Fl_Type *parent) { } if (g != f) f->move_before(g); } + parent->layout_widget(); } //////////////////////////////////////////////////////////////// -- cgit v1.2.3