Change volume icon position
This commit is contained in:
parent
e91e56e11a
commit
8d494f7799
1 changed files with 11 additions and 11 deletions
|
@ -38,6 +38,17 @@ StandardItem {
|
|||
rowSpacing: isHorizontal ? 0 : root.largeSpacing + root.smallSpacing
|
||||
flow: isHorizontal ? Grid.LeftToRight : Grid.TopToBottom
|
||||
|
||||
Image {
|
||||
id: volumeIcon
|
||||
visible: volume.isValid && status === Image.Ready
|
||||
source: "qrc:/svg/" + (Meui.Theme.darkMode ? "dark/" : "light/") + volume.iconName + ".svg"
|
||||
width: root.trayItemSize
|
||||
height: width
|
||||
sourceSize: Qt.size(width, height)
|
||||
asynchronous: true
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
}
|
||||
|
||||
Image {
|
||||
id: wirelessIcon
|
||||
width: root.trayItemSize
|
||||
|
@ -63,17 +74,6 @@ StandardItem {
|
|||
Layout.alignment: Qt.AlignCenter
|
||||
}
|
||||
|
||||
Image {
|
||||
id: volumeIcon
|
||||
visible: volume.isValid && status === Image.Ready
|
||||
source: "qrc:/svg/" + (Meui.Theme.darkMode ? "dark/" : "light/") + volume.iconName + ".svg"
|
||||
width: root.trayItemSize
|
||||
height: width
|
||||
sourceSize: Qt.size(width, height)
|
||||
asynchronous: true
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
}
|
||||
|
||||
Label {
|
||||
id: timeLabel
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
|
|
Loading…
Add table
Reference in a new issue