Better positioning for CustomTrayMenu and Tooltip

This commit is contained in:
ly-sec 2025-07-16 14:22:57 +02:00
parent 4ee23e5ce0
commit e0c53fd828
3 changed files with 518 additions and 3 deletions

View file

@ -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);