left-bar working, bottom bar semi-broken
This commit is contained in:
@@ -8,6 +8,8 @@ import qs.Helpers
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property bool horizontal
|
||||
|
||||
implicitHeight: Battery.isLaptop ? batteryIconLoader.item.implicitHeight : upowerIconLoader.item.implicitHeight
|
||||
implicitWidth: Battery.isLaptop ? batteryIconLoader.item.implicitWidth : upowerIconLoader.item.implicitWidth
|
||||
|
||||
@@ -123,6 +125,7 @@ Item {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
animate: true
|
||||
fill: 1
|
||||
font.pointSize: root.horizontal ? Appearance.font.size.larger : Appearance.font.size.large
|
||||
text: {
|
||||
if (PowerProfiles.profile === PowerProfile.PowerSaver)
|
||||
return "energy_savings_leaf";
|
||||
|
||||
Reference in New Issue
Block a user