summaryrefslogtreecommitdiff
path: root/fluid/Fl_Window_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-21 17:45:30 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-21 17:45:40 +0200
commit0c35212467f3b0d1aa632a1febb06c09f4b170f1 (patch)
treec56c12e3f9090950ce560f392f5d4228b6de1d2d /fluid/Fl_Window_Type.cxx
parente18762bff8bb2abfccc5c86086832a19c109c417 (diff)
FLUID: grid becomes a bit more interactive
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
-rw-r--r--fluid/Fl_Window_Type.cxx5
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)