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
commit 19fac58e49
Notes: sideshowbarker 2024-07-17 11:29:41 +09:00
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);