mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09:00
LibGUI: Add a Widget::did_layout() that gets called after layout
This will allow widgets to implement post-layout behaviors.
This commit is contained in:
parent
7aa62665a3
commit
f4fa758959
Notes:
sideshowbarker
2024-07-19 09:26:44 +09:00
Author: https://github.com/awesomekling
Commit: f4fa758959
2 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,7 @@ void Widget::do_layout()
|
|||
if (!m_layout)
|
||||
return;
|
||||
m_layout->run(*this);
|
||||
did_layout();
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue