1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

LibGUI: Invalidate GroupBox layout on font change

This commit is contained in:
FrHun 2021-09-28 15:59:07 +02:00 committed by Andreas Kling
parent 70e5a77794
commit a21ea5f10f
2 changed files with 7 additions and 0 deletions

View file

@ -52,6 +52,12 @@ void GroupBox::paint_event(PaintEvent& event)
}
}
void GroupBox::fonts_change_event(FontsChangeEvent& event)
{
Widget::fonts_change_event(event);
invalidate_layout();
}
void GroupBox::set_title(const StringView& title)
{
if (m_title == title)