Set battery icon to match text height

wilder-5.14
David Edmundson 12 years ago
parent b65eb9a635
commit 7e47a8e0c7
  1. 5
      lookandfeel/contents/components/InfoPane.qml

@ -50,11 +50,12 @@ ColumnLayout {
percent: pmSource.data["Battery0"]["Percent"]
pluggedIn: pmSource.data["AC Adapter"]["Plugged in"]
height: 20 //FIXME
width: 20
height: batteryLabel.height
width: batteryLabel.height
}
BreezeLabel {
id: batteryLabel
text: i18n("%1\% battery remaining", pmSource.data["Battery0"]["Percent"])
Layout.alignment: Qt.AlignRight
wrapMode: Text.Wrap

Loading…
Cancel
Save