Fix hover action position when wide

Fix the positioning of the hover actions when the window is wide by using the content x pos
This commit is contained in:
James Graham
2023-11-12 14:20:46 +00:00
parent ae0c5ffaef
commit 6dc30a9ca7
2 changed files with 8 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ QQC2.Control {
leftPadding: 0
rightPadding: 0
x: delegate ? delegate.x + delegate.bubbleX : 0
x: delegate ? delegate.contentX + delegate.bubbleX : 0
y: delegate ? delegate.mapToItem(parent, 0, 0).y + delegate.bubbleY - height + Kirigami.Units.smallSpacing : 0
width: delegate ? delegate.bubbleWidth : Kirigami.Units.gridUnit * 4