summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/ProcessChooser.cpp
diff options
context:
space:
mode:
authorFrHun <28605587+frhun@users.noreply.github.com>2021-09-14 20:45:32 +0200
committerAndreas Kling <kling@serenityos.org>2021-11-03 16:13:19 +0100
commita261e4d9d505bd97790f966809970c114f464ac5 (patch)
tree4e62b881c364abeeb287e39fb711fe7d517aa680 /Userland/Libraries/LibGUI/ProcessChooser.cpp
parenta08685b9a4235db2d53f7f7e06ca3f9b8fb43d20 (diff)
downloadserenity-a261e4d9d505bd97790f966809970c114f464ac5.zip
LibGUI+Settings: Remove superfluous margin sets
The margin set is completely superfluous, because it only ever affects grabbing (in splitters), which is never used for these classes.
Diffstat (limited to 'Userland/Libraries/LibGUI/ProcessChooser.cpp')
-rw-r--r--Userland/Libraries/LibGUI/ProcessChooser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/ProcessChooser.cpp b/Userland/Libraries/LibGUI/ProcessChooser.cpp
index e9a2afadec..82fa40b90d 100644
--- a/Userland/Libraries/LibGUI/ProcessChooser.cpp
+++ b/Userland/Libraries/LibGUI/ProcessChooser.cpp
@@ -48,7 +48,6 @@ ProcessChooser::ProcessChooser(const StringView& window_title, const StringView&
auto& button_container = widget.add<GUI::Widget>();
button_container.set_fixed_height(30);
button_container.set_layout<GUI::HorizontalBoxLayout>();
- button_container.set_content_margins({ 4, 0 });
button_container.layout()->set_margins({ 0, 4, 0 });
button_container.layout()->add_spacer();