Actually fix CustomTrayMenu, fix some positioning

This commit is contained in:
ly-sec 2025-07-16 14:08:29 +02:00
parent e19b6e9a47
commit fb3b5f5769
7 changed files with 28 additions and 28 deletions

View file

@ -176,7 +176,7 @@ Scope {
id: bottomLeftCorner
position: "topleft"
size: 1.3
fillColor: "#00FFFF"
fillColor: Theme.backgroundPrimary
offsetX: -39
offsetY: 0
anchors.top: parent.top
@ -198,7 +198,7 @@ Scope {
id: bottomRightCorner
position: "topright"
size: 1.3
fillColor: "#00FFFF"//(Theme.backgroundPrimary !== undefined && Theme.backgroundPrimary !== null) ? Theme.backgroundPrimary : "#222"
fillColor: Theme.backgroundPrimary
offsetX: 39
offsetY: 0
anchors.top: parent.top

View file

@ -92,7 +92,7 @@ PopupWindow {
id: bg
anchors.fill: parent
color: mouseArea.containsMouse ? Theme.highlight : "transparent"
radius: 12
radius: 8
visible: !(modelData?.isSeparator ?? false)
property color hoverTextColor: mouseArea.containsMouse ? Theme.onAccent : Theme.textPrimary

View file

@ -136,7 +136,7 @@ Row {
StyledTooltip {
id: trayTooltip
text: modelData.name || modelData.id || "Tray Item"
text: modelData.tooltipTitle || modelData.name || modelData.id || "Tray Item"
tooltipVisible: false
targetItem: trayIcon
delay: 200