diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Label.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Label.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Label.h b/Userland/Libraries/LibGUI/Label.h index d899231911..c9ea25a2ba 100644 --- a/Userland/Libraries/LibGUI/Label.h +++ b/Userland/Libraries/LibGUI/Label.h @@ -39,7 +39,8 @@ public: bool is_autosize() const { return m_autosize; } void set_autosize(bool, size_t padding = 0); - int preferred_height() const; + virtual Optional<UISize> calculated_preferred_size() const override; + int text_calculated_preferred_height() const; Gfx::IntRect text_rect() const; |