diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2023-04-14 08:54:12 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-15 15:24:50 +0200 |
commit | 5294ef918ec73d2258bfca61446be04da0d77bfe (patch) | |
tree | 4cadf7fa264d85bbcb890f50e212b5dfda1b29bd /Userland/Libraries/LibGUI/Label.h | |
parent | 479e67212a1074bc76a6790186d1d05e2c421ee6 (diff) | |
download | serenity-5294ef918ec73d2258bfca61446be04da0d77bfe.zip |
LibGUI: Implement calculated_min_size() for Label
Diffstat (limited to 'Userland/Libraries/LibGUI/Label.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Label.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Label.h b/Userland/Libraries/LibGUI/Label.h index a74c4037b8..796574d514 100644 --- a/Userland/Libraries/LibGUI/Label.h +++ b/Userland/Libraries/LibGUI/Label.h @@ -38,6 +38,7 @@ public: bool is_autosize() const { return m_autosize; } void set_autosize(bool, size_t padding = 0); + virtual Optional<UISize> calculated_min_size() const override; virtual Optional<UISize> calculated_preferred_size() const override; int text_calculated_preferred_height() const; int text_calculated_preferred_width() const; |