From a7bdc964fa68a26f9c0911c01b9ec060c20abca9 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 21:20:27 +0200 Subject: [PATCH 1/2] workspace pills: size from fontSize instead of hardcoded 20px --- modules/Workspaces.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Workspaces.qml b/modules/Workspaces.qml index e16b54c..ee7df9b 100644 --- a/modules/Workspaces.qml +++ b/modules/Workspaces.qml @@ -86,8 +86,8 @@ Row { } } - width: 20 - height: 20 + width: M.Theme.fontSize + 4 + height: M.Theme.fontSize + 4 radius: M.Theme.radius color: pill.active ? M.Theme.base0D : (pill._hovered ? M.Theme.base03 : M.Theme.base02) Behavior on color { From 49513b7ff2d0e463c31caa54f6825a9eb8031d3f Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 21:21:26 +0200 Subject: [PATCH 2/2] tray icons: size from fontSize instead of hardcoded 18px --- modules/Tray.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Tray.qml b/modules/Tray.qml index 55f9894..3c1d4bc 100644 --- a/modules/Tray.qml +++ b/modules/Tray.qml @@ -24,8 +24,8 @@ RowLayout { property bool _hovered: false property real _pulseOpacity: 1 - implicitWidth: 18 - implicitHeight: 18 + implicitWidth: M.Theme.fontSize + 4 + implicitHeight: M.Theme.fontSize + 4 SequentialAnimation { running: iconItem._needsAttention