mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00: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:
@@ -245,6 +245,7 @@ void Widget::do_layout()
|
||||
if (!m_layout)
|
||||
return;
|
||||
m_layout->run(*this);
|
||||
did_layout();
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user