mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
LibGUI: Change preferred_size in Layout to new layout system
This commit is contained in:
parent
b2951a2116
commit
d825c8ad18
3 changed files with 48 additions and 59 deletions
|
@ -49,7 +49,7 @@ public:
|
|||
void remove_widget(Widget&);
|
||||
|
||||
virtual void run(Widget&) = 0;
|
||||
virtual Gfx::IntSize preferred_size() const = 0;
|
||||
virtual UISize preferred_size() const = 0;
|
||||
virtual UISize min_size() const = 0;
|
||||
|
||||
void notify_adopted(Badge<Widget>, Widget&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue