1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

tweak systray icon sizing

This commit is contained in:
bbedward
2025-08-18 16:30:18 -04:00
parent 109d92367a
commit 8eb17c28b1

View File

@@ -12,8 +12,7 @@ Rectangle {
readonly property int calculatedWidth: SystemTray.items.values.length
> 0 ? SystemTray.items.values.length
* 24 + (SystemTray.items.values.length - 1)
* Theme.spacingXS + Theme.spacingS * 2 : 0
* 24 + Theme.spacingS * 2 : 0
width: calculatedWidth
height: 30
@@ -32,7 +31,7 @@ Rectangle {
id: systemTrayRow
anchors.centerIn: parent
spacing: Theme.spacingXS
spacing: 0
Repeater {
model: SystemTray.items.values
@@ -77,8 +76,8 @@ Rectangle {
IconImage {
anchors.centerIn: parent
width: 18
height: 18
width: 16
height: 16
source: parent.iconSource
asynchronous: true
smooth: true