mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
tweak systray icon sizing
This commit is contained in:
@@ -12,8 +12,7 @@ Rectangle {
|
|||||||
|
|
||||||
readonly property int calculatedWidth: SystemTray.items.values.length
|
readonly property int calculatedWidth: SystemTray.items.values.length
|
||||||
> 0 ? SystemTray.items.values.length
|
> 0 ? SystemTray.items.values.length
|
||||||
* 24 + (SystemTray.items.values.length - 1)
|
* 24 + Theme.spacingS * 2 : 0
|
||||||
* Theme.spacingXS + Theme.spacingS * 2 : 0
|
|
||||||
|
|
||||||
width: calculatedWidth
|
width: calculatedWidth
|
||||||
height: 30
|
height: 30
|
||||||
@@ -32,7 +31,7 @@ Rectangle {
|
|||||||
id: systemTrayRow
|
id: systemTrayRow
|
||||||
|
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
spacing: Theme.spacingXS
|
spacing: 0
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: SystemTray.items.values
|
model: SystemTray.items.values
|
||||||
@@ -77,8 +76,8 @@ Rectangle {
|
|||||||
|
|
||||||
IconImage {
|
IconImage {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: 18
|
width: 16
|
||||||
height: 18
|
height: 16
|
||||||
source: parent.iconSource
|
source: parent.iconSource
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
smooth: true
|
smooth: true
|
||||||
|
|||||||
Reference in New Issue
Block a user