mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
Userland: Use Widget::add_spacer() everywhere
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/9561ec15f4 Pull-request: https://github.com/SerenityOS/serenity/pull/17495 Reviewed-by: https://github.com/awesomekling ✅
@@ -44,7 +44,7 @@ WizardDialog::WizardDialog(Window* parent_window)
|
||||
nav_container_widget.set_fixed_height(42);
|
||||
nav_container_widget.layout()->set_margins({ 0, 10 });
|
||||
nav_container_widget.layout()->set_spacing(0);
|
||||
nav_container_widget.layout()->add_spacer();
|
||||
nav_container_widget.add_spacer().release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
m_back_button = nav_container_widget.add<DialogButton>(String::from_utf8_short_string("< Back"sv));
|
||||
m_back_button->on_click = [&](auto) {
|
||||
|
||||
Reference in New Issue
Block a user