fix(StatusSelect): Expose a property to make arrow in the select item visible/invisible
This commit is contained in:
parent
96740dd474
commit
9d77bd5ce4
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue