Indicate when combo box accepts custom input
This commit is contained in:
parent
768a343412
commit
e45055f48c
|
@ -3,7 +3,6 @@
|
||||||
- sfx selection
|
- sfx selection
|
||||||
- custom action
|
- custom action
|
||||||
|
|
||||||
- combo box custom item
|
|
||||||
- fix flickable popups can't be flicked by keyboard
|
- fix flickable popups can't be flicked by keyboard
|
||||||
- seen tooltips can't be shown on image hover
|
- seen tooltips can't be shown on image hover
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,19 @@ ComboBox {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HLabel {
|
||||||
|
visible: root.editable
|
||||||
|
height: visible ? implicitHeight : 0
|
||||||
|
text: qsTr("Custom input accepted")
|
||||||
|
color: theme.colors.dimText
|
||||||
|
leftPadding: theme.spacing
|
||||||
|
rightPadding: leftPadding
|
||||||
|
topPadding: theme.spacing / 1.75
|
||||||
|
bottomPadding: topPadding
|
||||||
|
width: menu.width
|
||||||
|
wrapMode: HLabel.Wrap
|
||||||
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: root.popup.visible ? root.model : null
|
model: root.popup.visible ? root.model : null
|
||||||
delegate: root.delegate
|
delegate: root.delegate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user