1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibGUI: Resize Label on font changes

And set fixed preferred heights when autosizing.
This commit is contained in:
thankyouverycool 2023-04-14 08:54:16 -04:00 committed by Andreas Kling
parent 5294ef918e
commit cfac3be0b3
2 changed files with 8 additions and 0 deletions

View file

@ -49,6 +49,7 @@ protected:
explicit Label(DeprecatedString text = {});
virtual void paint_event(PaintEvent&) override;
virtual void did_change_font() override;
virtual void did_change_text() { }
private: