fix(StatusSelect): Expose a property to make arrow in the select item visible/invisible

This commit is contained in:
Khushboo Mehta 2022-07-21 10:33:46 +02:00
parent 96740dd474
commit 9d77bd5ce4
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ Item {
property alias selectMenu: selectMenu property alias selectMenu: selectMenu
property color bgColorHover: bgColor property color bgColorHover: bgColor
property alias selectedItemComponent: selectedItemContainer.children property alias selectedItemComponent: selectedItemContainer.children
property bool caretVisible: true
property int caretRightMargin: 16 property int caretRightMargin: 16
property alias select: inputRectangle property alias select: inputRectangle
property int menuAlignment: StatusSelect.MenuAlignment.Right property int menuAlignment: StatusSelect.MenuAlignment.Right
@ -72,6 +73,7 @@ Item {
height: 24 height: 24
icon: "chevron-down" icon: "chevron-down"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
visible: caretVisible
} }
} }

View File