More spacing tweaks

This commit is contained in:
David Heinemeier Hansson
2026-05-15 19:14:52 +02:00
parent 52817ec465
commit 6cb880908a
4 changed files with 3 additions and 3 deletions
@@ -1950,6 +1950,7 @@ Item {
property var device: UPower.displayDevice
text: root.batteryIcon()
horizontalMargin: 8.5
visible: device !== null && device.isPresent && device.percentage > 0
active: device !== null && device.percentage <= 20 && UPower.onBattery
tooltipText: root.batteryTooltip()
@@ -10,7 +10,7 @@ Item {
property color foreground: bar ? bar.foreground : "#cacccc"
property color activeColor: bar ? bar.urgent : "#a55555"
property bool active: false
property real horizontalMargin: 7.5
property real horizontalMargin: 8.5
property real verticalPadding: 6
property real fixedWidth: -1
property real fixedHeight: -1
@@ -99,7 +99,6 @@ Item {
anchors.fill: parent
bar: root.bar
text: root.icon
horizontalMargin: 8.5
tooltipText: root.adapter ? (root.adapter.enabled ? "Bluetooth: " + root.connectedDevices.length + " connected" : "Bluetooth off") : ""
onPressed: function(b) {
@@ -185,7 +185,7 @@ iwctl station "$station" get-networks rssi-dbms 2>/dev/null \\
anchors.fill: parent
bar: root.bar
text: root.icon
horizontalMargin: 6.5
horizontalMargin: 8.5
tooltipText: bar ? bar.networkTooltip() : ""
onPressed: function(b) {