diff options
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/Widget.cpp | 1 | ||||
-rw-r--r-- | Libraries/LibGUI/Widget.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibGUI/Widget.cpp b/Libraries/LibGUI/Widget.cpp index 5ca0d6d707..b4b2ccc084 100644 --- a/Libraries/LibGUI/Widget.cpp +++ b/Libraries/LibGUI/Widget.cpp @@ -245,6 +245,7 @@ void Widget::do_layout() if (!m_layout) return; m_layout->run(*this); + did_layout(); update(); } diff --git a/Libraries/LibGUI/Widget.h b/Libraries/LibGUI/Widget.h index ef2af59fdc..9ecb8fe8c1 100644 --- a/Libraries/LibGUI/Widget.h +++ b/Libraries/LibGUI/Widget.h @@ -283,6 +283,7 @@ protected: virtual void custom_layout() {} virtual void did_change_font() {} + virtual void did_layout() {} virtual void paint_event(PaintEvent&); virtual void resize_event(ResizeEvent&); virtual void show_event(ShowEvent&); |