diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-21 17:45:30 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-21 17:45:40 +0200 |
| commit | 0c35212467f3b0d1aa632a1febb06c09f4b170f1 (patch) | |
| tree | c56c12e3f9090950ce560f392f5d4228b6de1d2d /fluid/Fl_Window_Type.cxx | |
| parent | e18762bff8bb2abfccc5c86086832a19c109c417 (diff) | |
FLUID: grid becomes a bit more interactive
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index 99ca02b3a..433fc5863 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -21,6 +21,7 @@ #include "Fl_Window_Type.h" #include "Fl_Group_Type.h" +#include "Fl_Grid_Type.h" #include "fluid.h" #include "widget_browser.h" #include "undo.h" @@ -837,6 +838,10 @@ void Fl_Window_Type::moveallchildren() } } } + if (myo->parent && myo->parent->is_a(ID_Grid)) { + Fl_Grid_Type* gt = (Fl_Grid_Type*)myo->parent; + gt->child_resized(myo); + } // move all the children, whether selected or not: Fl_Type* p; for (p = myo->next; p && p->level>myo->level; p = p->next) |
