diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2022-09-22 11:22:53 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-24 22:59:12 +0200 |
commit | cbd9cf93beb35784341b99b09ad624208e828517 (patch) | |
tree | bb8e44a21f81de20726ba44063c73d238fc42e31 /Userland/Libraries/LibGUI/StackWidget.h | |
parent | f0a5ce6d116e8989cf7030dd07f69acec2b9b35e (diff) | |
download | serenity-cbd9cf93beb35784341b99b09ad624208e828517.zip |
LibGUI: Implement calculated_min_size() for StackWidget
Diffstat (limited to 'Userland/Libraries/LibGUI/StackWidget.h')
-rw-r--r-- | Userland/Libraries/LibGUI/StackWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/StackWidget.h b/Userland/Libraries/LibGUI/StackWidget.h index ad57814c2e..ee606a5169 100644 --- a/Userland/Libraries/LibGUI/StackWidget.h +++ b/Userland/Libraries/LibGUI/StackWidget.h @@ -22,6 +22,8 @@ public: Function<void(Widget*)> on_active_widget_change; + virtual Optional<UISize> calculated_min_size() const override; + protected: StackWidget() = default; virtual void child_event(Core::ChildEvent&) override; |