summaryrefslogtreecommitdiff
path: root/Userland/Demos/WidgetGallery
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-02-20 09:50:44 -0500
committerIdan Horowitz <idan.horowitz@gmail.com>2022-02-23 18:56:22 +0200
commit653f01616ce3ea434d6ce9d21b3c7ba1ecea608e (patch)
treec4b78adc97dc9f634c372a62f971a7358defddaf /Userland/Demos/WidgetGallery
parentfe864af0dcae9382eb66b753919ab1dbf75baa46 (diff)
downloadserenity-653f01616ce3ea434d6ce9d21b3c7ba1ecea608e.zip
LibGUI+Apps: Adjust Splitter spacings
Different thread highlights between widgets lead to different visual weights between splitters, even when they have the same width or height. This means some splitters look best at odd sizes while others even. This sets the default spacing to the most commonly used, depending on orientation, and adjusts spacing for a few apps based on the new paint rect. The most consistent look across apps requires some manual tweaking occassionally. Knurlheads, use your discretion!
Diffstat (limited to 'Userland/Demos/WidgetGallery')
-rw-r--r--Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml
index 3dbecab2dd..e9ba1fa4ca 100644
--- a/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml
+++ b/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml
@@ -11,7 +11,9 @@
}
@GUI::HorizontalSplitter {
- layout: @GUI::HorizontalBoxLayout {}
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 4
+ }
@GUI::Frame {
name: "label_frame"