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

LibGUI: Use new layout system for basic widgets

This commit is contained in:
FrHun 2022-02-22 20:25:30 +01:00 committed by Sam Atkins
parent bfbaad9f41
commit 19fac58e49
17 changed files with 85 additions and 18 deletions

View file

@ -27,6 +27,8 @@ public:
bool has_frame() const { return m_has_frame; }
void set_has_frame(bool has_frame) { m_has_frame = has_frame; }
virtual Optional<UISize> calculated_preferred_size() const override;
protected:
explicit Toolbar(Gfx::Orientation = Gfx::Orientation::Horizontal, int button_size = 16);