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:
parent
5b3d2c1523
commit
3271262e8d
1 changed files with 2 additions and 2 deletions
|
|
@ -831,7 +831,7 @@ in
|
|||
PopupWindow {
|
||||
id: calPopup
|
||||
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.edges: Edges.Top | Edges.Left
|
||||
anchor.gravity: Edges.Bottom | Edges.Right
|
||||
|
|
@ -844,7 +844,7 @@ in
|
|||
property real fullWidth: calCol.width + 32
|
||||
property real fullHeight: calCol.height + 24
|
||||
|
||||
implicitWidth: fullWidth + 4
|
||||
implicitWidth: fullWidth + 16
|
||||
implicitHeight: fullHeight + 4
|
||||
|
||||
onVisibleChanged: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue