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:
parent
ddc7bedca6
commit
64eb326f26
2 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue