diff --git a/lookandfeel/contents/components/InfoPane.qml b/lookandfeel/contents/components/InfoPane.qml index 43caad02a..38c9abcc3 100644 --- a/lookandfeel/contents/components/InfoPane.qml +++ b/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