mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Userland: Use Widget::add_spacer() everywhere
This commit is contained in:
parent
43dddafd16
commit
9561ec15f4
17 changed files with 23 additions and 23 deletions
|
@ -104,7 +104,7 @@ void InputBox::build()
|
|||
button_container_inner.set_layout<HorizontalBoxLayout>();
|
||||
button_container_inner.set_preferred_height(SpecialDimension::Fit);
|
||||
button_container_inner.layout()->set_spacing(6);
|
||||
button_container_inner.layout()->add_spacer();
|
||||
button_container_inner.add_spacer().release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
m_ok_button = button_container_inner.add<DialogButton>();
|
||||
m_ok_button->set_text(String::from_utf8_short_string("OK"sv));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue