Halve the gap around notification popups on the top + right edges

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.
This commit is contained in:
David Heinemeier Hansson
2026-05-20 21:40:37 +02:00
parent 3878ad3a57
commit 9211b4b9c3
+4 -4
View File
@@ -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