mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibGUI: Implement calculated min/preferred sizes for TabWidget
This commit is contained in:
parent
309874b4fb
commit
ccdccadc24
Notes:
sideshowbarker
2024-07-17 09:44:14 +09:00
Author: https://github.com/frhun
Commit: ccdccadc24
Pull-request: https://github.com/SerenityOS/serenity/pull/14478
Issue: https://github.com/SerenityOS/serenity/issues/14420
2 changed files with 32 additions and 0 deletions
|
@ -47,6 +47,9 @@ public:
|
|||
GUI::Margins const& container_margins() const { return m_container_margins; }
|
||||
void set_container_margins(GUI::Margins const&);
|
||||
|
||||
Optional<UISize> calculated_min_size() const override;
|
||||
Optional<UISize> calculated_preferred_size() const override;
|
||||
|
||||
ErrorOr<void> try_add_widget(Widget&);
|
||||
|
||||
void add_widget(Widget&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue