summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/SeparatorWidget.h
diff options
context:
space:
mode:
authorFrHun <28605587+frhun@users.noreply.github.com>2023-02-10 01:07:03 +0100
committerSam Atkins <atkinssj@gmail.com>2023-02-17 16:25:57 +0000
commitb6d45f9c1feca10d80da65a1c14ba7488691f44e (patch)
treef82471588ada008be05a95efc6c0ba0997a5e512 /Userland/Libraries/LibGUI/SeparatorWidget.h
parente2691fcdf21cb0e4239dcf1ab4a5969f3bb2f234 (diff)
downloadserenity-b6d45f9c1feca10d80da65a1c14ba7488691f44e.zip
LibGUI: Use calculated_preferred_size in SeparatorWidget
Diffstat (limited to 'Userland/Libraries/LibGUI/SeparatorWidget.h')
-rw-r--r--Userland/Libraries/LibGUI/SeparatorWidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/SeparatorWidget.h b/Userland/Libraries/LibGUI/SeparatorWidget.h
index 40fc9f62c5..64393d190b 100644
--- a/Userland/Libraries/LibGUI/SeparatorWidget.h
+++ b/Userland/Libraries/LibGUI/SeparatorWidget.h
@@ -22,6 +22,7 @@ protected:
private:
virtual void paint_event(PaintEvent&) override;
+ virtual Optional<UISize> calculated_preferred_size() const override;
const Gfx::Orientation m_orientation;
};