1
Fork 0
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:
FrHun 2022-06-12 23:04:46 +02:00 committed by Sam Atkins
parent b2951a2116
commit d825c8ad18
3 changed files with 48 additions and 59 deletions

View file

@ -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&);