summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-24 19:03:51 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-24 19:05:04 +0200
commit344e66caaaa63e17d9a33e69d03c38bbdee72fff (patch)
tree8770dac2827a597e317f8910926d77b5df20a004 /Libraries
parent9617b7ede41226a53b354980cad5bec0a2f59fcd (diff)
downloadserenity-344e66caaaa63e17d9a33e69d03c38bbdee72fff.zip
LibGUI: Shrink GUI::Splitter by 1 pixel to make it look just right
Splitters were slightly oversized to work around the fact that we were ignoring 2px on both sides of them. Now that the whole splitter can be interacted with, we can lose 1px of fat and look great! :^)
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/Splitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Splitter.cpp b/Libraries/LibGUI/Splitter.cpp
index 8b1a86bf84..290f464fe3 100644
--- a/Libraries/LibGUI/Splitter.cpp
+++ b/Libraries/LibGUI/Splitter.cpp
@@ -38,7 +38,7 @@ Splitter::Splitter(Orientation orientation)
set_background_role(ColorRole::Button);
set_layout<BoxLayout>(orientation);
set_fill_with_background_color(true);
- layout()->set_spacing(4);
+ layout()->set_spacing(3);
}
Splitter::~Splitter()