fix battery icon centering issue
This commit is contained in:
parent
848c0b3af3
commit
50ca7c10d1
@ -22,7 +22,6 @@ Loader {
|
||||
implicitHeight: Settings.config.barHeight
|
||||
Row {
|
||||
anchors.centerIn: batRow
|
||||
anchors.verticalCenter: batRow.verticalCenter
|
||||
CustomText {
|
||||
id: batText
|
||||
text: Math.round(UPower.displayDevice.percentage * 100) + "%"
|
||||
@ -30,9 +29,9 @@ Loader {
|
||||
|
||||
IconImage {
|
||||
id: batIcon
|
||||
anchors.verticalCenter: batRow.verticalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
source: Quickshell.iconPath(UPower.displayDevice.iconName)
|
||||
implicitSize: 14
|
||||
implicitSize: 12
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user