From 7ef599903872d003a9c09dc6a534189b5923cd92 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 27 May 2026 14:25:28 +0200 Subject: [PATCH] Tighten center bar widget spacing --- shell/plugins/bar/widgets/Clock.qml | 2 +- shell/plugins/panels/weather/BarWidget.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/plugins/bar/widgets/Clock.qml b/shell/plugins/bar/widgets/Clock.qml index f1010793..493cc303 100644 --- a/shell/plugins/bar/widgets/Clock.qml +++ b/shell/plugins/bar/widgets/Clock.qml @@ -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 diff --git a/shell/plugins/panels/weather/BarWidget.qml b/shell/plugins/panels/weather/BarWidget.qml index 6f1dcea5..e02b1925 100644 --- a/shell/plugins/panels/weather/BarWidget.qml +++ b/shell/plugins/panels/weather/BarWidget.qml @@ -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()