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