Indicate when combo box accepts custom input

This commit is contained in:
miruka 2021-02-28 16:41:19 -04:00
parent 768a343412
commit e45055f48c
2 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,6 @@
- sfx selection
- custom action
- combo box custom item
- fix flickable popups can't be flicked by keyboard
- seen tooltips can't be shown on image hover

View File

@ -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 {
model: root.popup.visible ? root.model : null
delegate: root.delegate