Tighten center bar widget spacing

This commit is contained in:
David Heinemeier Hansson
2026-05-27 14:25:28 +02:00
parent d6fa701543
commit 7ef5999038
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ BarWidget {
anchors.fill: parent
bar: root.bar
text: root.formatted(root.displayDate)
horizontalMargin: 8.75
horizontalMargin: 2
verticalPadding: 8.75
onPressed: function(button) {
if (!root.bar) return
+1 -1
View File
@@ -23,7 +23,7 @@ BarWidget {
}
visible: panelLoader.item && panelLoader.item.label !== ""
implicitWidth: bar && bar.vertical ? button.implicitWidth : button.implicitWidth + Style.spacing.controlGap
implicitWidth: bar && bar.vertical ? button.implicitWidth : button.implicitWidth + Style.spacing.labelGap
implicitHeight: button.implicitHeight
onBarChanged: injectPanel()