From 3c5846407422613d5a9987c0acf4549e46f2d3c9 Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 16:28:30 +0200 Subject: [PATCH 1/2] docs: groupSpacing in theme table, replace barSpacing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a32a208..daf498a 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Full list of theme keys and their defaults: | `barHeight` | `32` | Bar height (px) | | `barOpacity` | `0.9` | Bar and flyout background opacity | | `barPadding` | `8` | Left/right bar content margin (px) | -| `barSpacing` | `12` | Gap between modules (px) | +| `groupSpacing` | `6` | Gap between groups and gradient border (px) | | `moduleSpacing` | `4` | Icon-to-label gap within a module (px) | | `radius` | `4` | Corner radius for flyouts and menus (px) | | `screenRadius` | `15` | Screen corner rounding, 0 to disable (px) | From 6eff8710fd50252fd67c6eb8642cf84be3b5a9aa Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 16:29:32 +0200 Subject: [PATCH 2/2] themed tray menu icons, remove barSpacing --- modules/Theme.qml | 3 --- modules/TrayMenu.qml | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/Theme.qml b/modules/Theme.qml index 1e49b02..f924df9 100644 --- a/modules/Theme.qml +++ b/modules/Theme.qml @@ -31,7 +31,6 @@ QtObject { property real barOpacity: 0.9 property int barHeight: 32 property int barPadding: 8 - property int barSpacing: 12 property int moduleSpacing: 4 property int groupSpacing: 6 property int radius: 4 @@ -68,8 +67,6 @@ QtObject { root.barHeight = data.barHeight; if (data.barPadding !== undefined) root.barPadding = data.barPadding; - if (data.barSpacing !== undefined) - root.barSpacing = data.barSpacing; if (data.moduleSpacing !== undefined) root.moduleSpacing = data.moduleSpacing; if (data.groupSpacing !== undefined) diff --git a/modules/TrayMenu.qml b/modules/TrayMenu.qml index 07ed19a..1278b43 100644 --- a/modules/TrayMenu.qml +++ b/modules/TrayMenu.qml @@ -81,7 +81,7 @@ M.PopupPanel { radius: M.Theme.radius } - Image { + M.ThemedIcon { id: entryIcon visible: !entryItem.modelData.isSeparator && entryItem.modelData.icon !== "" anchors.verticalCenter: parent.verticalCenter @@ -90,6 +90,7 @@ M.PopupPanel { width: M.Theme.fontSize height: M.Theme.fontSize source: entryItem.modelData.icon + tint: menuWindow.accentColor fillMode: Image.PreserveAspectFit }