Tray: change chevron to caret

This commit is contained in:
Ly-sec
2025-11-04 23:49:09 +01:00
parent 8b00fae3ae
commit 93cf049343
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -71,6 +71,8 @@ Singleton {
"chevron-down": "chevron-down",
"caret-up": "caret-up-filled",
"caret-down": "caret-down-filled",
"caret-left": "caret-left-filled",
"caret-right": "caret-right-filled",
"star": "star",
"star-off": "star-off",
"battery-exclamation": "battery-exclamation",
+5 -5
View File
@@ -317,15 +317,15 @@ Rectangle {
anchors.centerIn: parent
icon: {
if (barPosition === "top")
return "chevron-down"
return "caret-down"
else if (barPosition === "bottom")
return "chevron-up"
return "caret-up"
else if (barPosition === "left")
return "chevron-right"
return "caret-right"
else if (barPosition === "right")
return "chevron-left"
return "caret-left"
else
return "chevron-down" // default fallback
return "caret-down" // default fallback
}
pointSize: Math.round(itemSize * 0.65)
color: dropdownButton.hovered ? Color.mPrimary : Color.mOnSurface