quickshell: widen popup to fit concave corners

Popup was only fullWidth+4, leaving 2px per side — the 8px
corners were clipped. Now fullWidth+16 gives 8px per side.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-26 14:59:04 +01:00
parent 5b3d2c1523
commit 3271262e8d

View file

@ -831,7 +831,7 @@ in
PopupWindow { PopupWindow {
id: calPopup id: calPopup
anchor.window: bar anchor.window: bar
anchor.rect.x: bar.width / 2 - (fullWidth + 4) / 2 anchor.rect.x: bar.width / 2 - (fullWidth + 16) / 2
anchor.rect.y: bar.height anchor.rect.y: bar.height
anchor.edges: Edges.Top | Edges.Left anchor.edges: Edges.Top | Edges.Left
anchor.gravity: Edges.Bottom | Edges.Right anchor.gravity: Edges.Bottom | Edges.Right
@ -844,7 +844,7 @@ in
property real fullWidth: calCol.width + 32 property real fullWidth: calCol.width + 32
property real fullHeight: calCol.height + 24 property real fullHeight: calCol.height + 24
implicitWidth: fullWidth + 4 implicitWidth: fullWidth + 16
implicitHeight: fullHeight + 4 implicitHeight: fullHeight + 4
onVisibleChanged: { onVisibleChanged: {