1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibGUI: Use calculated_preferred_size in SeparatorWidget

This commit is contained in:
FrHun 2023-02-10 01:07:03 +01:00 committed by Sam Atkins
parent e2691fcdf2
commit b6d45f9c1f
2 changed files with 9 additions and 4 deletions

View file

@ -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;
};