mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LibGUI: Remove usages of deprecated implicit conversions
This commit is contained in:
parent
8dd08d47f1
commit
603034759f
5 changed files with 13 additions and 12 deletions
|
@ -176,7 +176,8 @@ void MessageBox::build()
|
|||
int width = (button_count * button_width) + ((button_count - 1) * button_container.layout()->spacing()) + 32;
|
||||
width = max(width, text_width + icon_width + 56);
|
||||
|
||||
set_rect(x(), y(), width, 80 + label.max_height());
|
||||
// FIXME: Use shrink from new layout system
|
||||
set_rect(x(), y(), width, 80 + label.preferred_height());
|
||||
set_resizable(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue