Better positioning for CustomTrayMenu and Tooltip
This commit is contained in:
parent
4ee23e5ce0
commit
e0c53fd828
3 changed files with 518 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ Window {
|
|||
if (!targetItem) return;
|
||||
var pos = targetItem.mapToGlobal(0, targetItem.height);
|
||||
x = pos.x - width / 2 + targetItem.width / 2;
|
||||
y = pos.y + 8;
|
||||
y = pos.y + 12;
|
||||
visible = true;
|
||||
console.log("StyledTooltip _showNow called");
|
||||
console.log("StyledTooltip Theme.textPrimary:", Theme.textPrimary);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue