mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +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
|
@ -53,7 +53,7 @@ RoundingDialog::RoundingDialog(GUI::Window* parent_window, StringView title)
|
|||
main_widget->add_child(*m_buttons_container);
|
||||
|
||||
m_buttons_container->set_layout<GUI::HorizontalBoxLayout>();
|
||||
m_buttons_container->layout()->add_spacer();
|
||||
m_buttons_container->add_spacer().release_value_but_fixme_should_propagate_errors();
|
||||
m_buttons_container->add_child(*m_ok_button);
|
||||
m_buttons_container->add_child(*m_cancel_button);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue