diff options
| author | Matthias Melcher <git@matthiasm.com> | 2019-12-31 18:33:01 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2019-12-31 18:33:01 +0100 |
| commit | db6fa8bf86407a0d1a1de180fff55702e1f75d6f (patch) | |
| tree | 2d28dd5fe902cdbed35fd7ba6165eac7ebe3baa3 /src/Fl_Pack.cxx | |
| parent | df9eb443f0efce88b2d572b564b03908b8f53bf2 (diff) | |
| parent | a624d9be2d3fe24e64fdbadc5079f9a8c65a5f46 (diff) | |
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'src/Fl_Pack.cxx')
| -rw-r--r-- | src/Fl_Pack.cxx | 2 |
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) { |
