fix(slint): symmetric spacing on the header sidebar toggle

The collapse toggle is a bare icon; the window-edge margin (Spacing.md)
was wider than its ~10px gap to the Discover tab. Drop the tab cluster
x to Spacing.xs so the toggle glyph sits symmetrically.

cc
This commit is contained in:
vicrodh committed 2026-05-19 12:13:36 -06:00
1 parent df2ffd2190
commit 80f861779c
1 file changed
+4 -1
+4 -1
View File
@@ -247,7 +247,10 @@ export component HeaderBar inherits Rectangle {
// --- Tabs (anchored left) ----------------------------------------------
tabs := HorizontalLayout {
x: Spacing.md;
// xs (not md): the sidebar toggle is a bare icon with ~10px of
// breathing room to the Discover tab; the window-edge margin is
// matched to that so the toggle glyph sits symmetrically.
x: Spacing.xs;
y: (root.height - self.height) / 2;
height: 30px;
spacing: 2px;