diff options
Diffstat (limited to 'Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp')
-rw-r--r-- | Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp b/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp index f22569127a..b18123887f 100644 --- a/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp +++ b/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp @@ -22,9 +22,7 @@ CreateNewLayerDialog::CreateNewLayerDialog(Gfx::IntSize suggested_size, GUI::Win auto main_widget = set_main_widget<GUI::Widget>().release_value_but_fixme_should_propagate_errors(); main_widget->set_fill_with_background_color(true); - - auto& layout = main_widget->set_layout<GUI::VerticalBoxLayout>(); - layout.set_margins(4); + main_widget->set_layout<GUI::VerticalBoxLayout>(4); auto& name_label = main_widget->add<GUI::Label>("Name:"); name_label.set_text_alignment(Gfx::TextAlignment::CenterLeft); |