summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Button.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/Button.h')
-rw-r--r--Userland/Libraries/LibGUI/Button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Button.h b/Userland/Libraries/LibGUI/Button.h
index f34de7a193..926ea575de 100644
--- a/Userland/Libraries/LibGUI/Button.h
+++ b/Userland/Libraries/LibGUI/Button.h
@@ -57,6 +57,8 @@ public:
void set_mimic_pressed(bool mimic_pressed);
bool is_mimic_pressed() const { return m_mimic_pressed; };
+ virtual Optional<UISize> calculated_min_size() const override;
+
protected:
explicit Button(String text = {});
virtual void mousedown_event(MouseEvent&) override;