From 9211b4b9c3b0d508ccc24a9bf374779f18bc36ad Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 20 May 2026 21:39:30 +0200 Subject: [PATCH] Halve the gap around notification popups on the top + right edges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sit notifications closer to the top and right edges than the default gapsOut. The bar-height clearance still applies to the top — only the free gap portion is halved. --- shell/plugins/notifications/Service.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/plugins/notifications/Service.qml b/shell/plugins/notifications/Service.qml index e7c22687..091428f9 100644 --- a/shell/plugins/notifications/Service.qml +++ b/shell/plugins/notifications/Service.qml @@ -802,10 +802,10 @@ Item { right: service.barPosition !== "left" } margins { - top: service.barPosition === "top" ? service.barClearance : Style.gapsOut - bottom: service.barPosition === "bottom" ? service.barClearance : Style.gapsOut - left: service.barPosition === "left" ? service.barClearance : Style.gapsOut - right: service.barPosition === "right" ? service.barClearance : Style.gapsOut + top: service.barPosition === "top" ? service.liveBarSize + Math.round(Style.gapsOut / 2) : Math.round(Style.gapsOut / 2) + bottom: service.barPosition === "bottom" ? service.barClearance : Style.gapsOut + left: service.barPosition === "left" ? service.barClearance : Style.gapsOut + right: service.barPosition === "right" ? service.barClearance : Math.round(Style.gapsOut / 2) } implicitWidth: popupColumn.implicitWidth