1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 23:25:06 +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:
Andreas Kling 2020-02-11 11:26:25 +01:00
parent 7aa62665a3
commit f4fa758959
2 changed files with 2 additions and 0 deletions

View file

@ -245,6 +245,7 @@ void Widget::do_layout()
if (!m_layout)
return;
m_layout->run(*this);
did_layout();
update();
}