mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
Userland: Use Widget::add_spacer() everywhere
This commit is contained in:
parent
43dddafd16
commit
9561ec15f4
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/AtkinsSJ
Commit: 9561ec15f4
Pull-request: https://github.com/SerenityOS/serenity/pull/17495
Reviewed-by: https://github.com/awesomekling ✅
17 changed files with 23 additions and 23 deletions
|
@ -155,7 +155,7 @@ ErrorOr<void> PropertiesWindow::create_widgets(bool disable_rename)
|
|||
button_widget->set_fixed_height(22);
|
||||
button_widget->layout()->set_spacing(5);
|
||||
|
||||
button_widget->layout()->add_spacer();
|
||||
TRY(button_widget->add_spacer());
|
||||
|
||||
auto ok_button = TRY(make_button(String::from_utf8_short_string("OK"sv), button_widget));
|
||||
ok_button->on_click = [this](auto) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue