Better positioning for CustomTrayMenu and Tooltip
This commit is contained in:
parent
4ee23e5ce0
commit
e0c53fd828
3 changed files with 518 additions and 3 deletions
|
|
@ -18,8 +18,8 @@ PopupWindow {
|
|||
property real anchorY
|
||||
|
||||
anchor.item: anchorItem ? anchorItem : null
|
||||
anchor.rect.x: anchorX + 10
|
||||
anchor.rect.y: anchorY
|
||||
anchor.rect.x: anchorX
|
||||
anchor.rect.y: anchorY - 4
|
||||
|
||||
function showAt(item, x, y) {
|
||||
if (!item) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue