mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibGUI: Use new layout system for basic widgets
This commit is contained in:
parent
bfbaad9f41
commit
19fac58e49
17 changed files with 85 additions and 18 deletions
|
@ -177,7 +177,7 @@ void MessageBox::build()
|
|||
width = max(width, text_width + icon_width + 56);
|
||||
|
||||
// FIXME: Use shrink from new layout system
|
||||
set_rect(x(), y(), width, 80 + label.preferred_height());
|
||||
set_rect(x(), y(), width, 80 + label.text_calculated_preferred_height());
|
||||
set_resizable(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue