1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:37:34 +00:00

LibGUI: Give SeparatorWidget a minimum size

Without this, it can be squished down into nothing, which looks really
odd.
This commit is contained in:
Sam Atkins 2023-02-28 19:24:56 +00:00 committed by Andreas Kling
parent ddc7bedca6
commit 64eb326f26
2 changed files with 12 additions and 2 deletions

View file

@ -23,6 +23,7 @@ protected:
private:
virtual void paint_event(PaintEvent&) override;
virtual Optional<UISize> calculated_preferred_size() const override;
virtual Optional<UISize> calculated_min_size() const override;
const Gfx::Orientation m_orientation;
};