Polish bar icon spacing

This commit is contained in:
David Heinemeier Hansson
2026-06-06 16:43:00 +02:00
parent d7d08d1b17
commit 166b395203
10 changed files with 31 additions and 11 deletions
+3
View File
@@ -343,6 +343,9 @@ Panel {
bar: root.bar
text: root.displays.length > 1 ? "󰍺" : "󰍹"
fontSize: Style.font.subtitle
fixedWidth: root.bar && root.bar.vertical ? -1 : Style.space(27)
fixedHeight: root.bar && root.bar.vertical ? Style.space(26) : -1
rightExtraMargin: 4
onPressed: function(b) { root.toggle() }
onWheelMoved: function(delta) {
if (root.brightnessAvailable) root.setBrightness(root.brightnessPercent + (delta > 0 ? 5 : -5))