mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +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
|
@ -52,7 +52,7 @@ ErrorOr<NonnullRefPtr<SettingsWindow>> SettingsWindow::create(DeprecatedString t
|
|||
};
|
||||
}
|
||||
|
||||
TRY(button_container->layout()->try_add_spacer());
|
||||
TRY(button_container->add_spacer());
|
||||
|
||||
window->m_ok_button = TRY(button_container->try_add<GUI::DialogButton>(String::from_utf8_short_string("OK"sv)));
|
||||
window->m_ok_button->on_click = [window = window->make_weak_ptr<SettingsWindow>()](auto) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue