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:
@@ -802,10 +802,10 @@ Item {
|
|||||||
right: service.barPosition !== "left"
|
right: service.barPosition !== "left"
|
||||||
}
|
}
|
||||||
margins {
|
margins {
|
||||||
top: service.barPosition === "top" ? 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
|
bottom: service.barPosition === "bottom" ? service.barClearance : Style.gapsOut
|
||||||
left: service.barPosition === "left" ? service.barClearance : Style.gapsOut
|
left: service.barPosition === "left" ? service.barClearance : Style.gapsOut
|
||||||
right: service.barPosition === "right" ? service.barClearance : Style.gapsOut
|
right: service.barPosition === "right" ? service.barClearance : Math.round(Style.gapsOut / 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
implicitWidth: popupColumn.implicitWidth
|
implicitWidth: popupColumn.implicitWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user