diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-16 21:07:06 +0000 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-02-18 16:56:56 +0000 |
commit | 77ad0fdb0726aba2ecaf7ea9764a642671d1fd6f (patch) | |
tree | 956e10f4c4713e20c03f4aed06f08133f5fcc2e7 /Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp | |
parent | 9561ec15f47fdba66a4e8872fd03aae8d0f2df22 (diff) | |
download | serenity-77ad0fdb0726aba2ecaf7ea9764a642671d1fd6f.zip |
Userland: Specify margins and spacing in the GUI::Layout constructor
Diffstat (limited to 'Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp')
-rw-r--r-- | Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp b/Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp index 96ec8d72da..f436773540 100644 --- a/Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp +++ b/Userland/Applications/PixelPaint/LayerPropertiesWidget.cpp @@ -24,9 +24,7 @@ LayerPropertiesWidget::LayerPropertiesWidget() set_layout<GUI::VerticalBoxLayout>(); auto& group_box = add<GUI::GroupBox>("Layer properties"sv); - auto& layout = group_box.set_layout<GUI::VerticalBoxLayout>(); - - layout.set_margins({ 8 }); + group_box.set_layout<GUI::VerticalBoxLayout>(8); auto& name_container = group_box.add<GUI::Widget>(); name_container.set_fixed_height(20); |