diff --git a/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml b/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml index 7b442c17d..e0fcb71a3 100644 --- a/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml +++ b/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml @@ -71,7 +71,7 @@ MouseArea { id: batteryIcon anchors.centerIn: parent - height: root.isConstrained ? batteryContainer.iconSize : batteryContainer.iconSize - batteryLabel.height + height: batteryContainer.iconSize width: height hasBattery: batteryContainer.hasBattery