Compare commits

...

2 commits

Author SHA1 Message Date
Damocles
49513b7ff2 tray icons: size from fontSize instead of hardcoded 18px 2026-04-12 21:21:26 +02:00
Damocles
a7bdc964fa workspace pills: size from fontSize instead of hardcoded 20px 2026-04-12 21:20:27 +02:00
2 changed files with 4 additions and 4 deletions

View file

@ -24,8 +24,8 @@ RowLayout {
property bool _hovered: false property bool _hovered: false
property real _pulseOpacity: 1 property real _pulseOpacity: 1
implicitWidth: 18 implicitWidth: M.Theme.fontSize + 4
implicitHeight: 18 implicitHeight: M.Theme.fontSize + 4
SequentialAnimation { SequentialAnimation {
running: iconItem._needsAttention running: iconItem._needsAttention

View file

@ -86,8 +86,8 @@ Row {
} }
} }
width: 20 width: M.Theme.fontSize + 4
height: 20 height: M.Theme.fontSize + 4
radius: M.Theme.radius radius: M.Theme.radius
color: pill.active ? M.Theme.base0D : (pill._hovered ? M.Theme.base03 : M.Theme.base02) color: pill.active ? M.Theme.base0D : (pill._hovered ? M.Theme.base03 : M.Theme.base02)
Behavior on color { Behavior on color {