summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Pack.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Pack.cxx b/src/Fl_Pack.cxx
index 5935079ce..55ad2c385 100644
--- a/src/Fl_Pack.cxx
+++ b/src/Fl_Pack.cxx
@@ -135,6 +135,8 @@ void Fl_Pack::draw() {
th += Fl::box_dh(box()); if (th <= 0) th = 1;
if (tw != w() || th != h()) {
Fl_Widget::resize(x(),y(),tw,th);
+ Fl_Group *parent = this->parent();
+ if (parent) parent->init_sizes();
d = FL_DAMAGE_ALL;
}
if (d&FL_DAMAGE_ALL) {