Minor UX changes.
This commit is contained in:
parent
ca66a29914
commit
27a279bc3c
|
@ -26,7 +26,7 @@ TextField {
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "shown"
|
name: "shown"
|
||||||
when: textField.text.length !== 0
|
when: textField.text.length !== 0 || textField.activeFocus
|
||||||
PropertyChanges { target: floatingPlaceholder; scale: 0.8 }
|
PropertyChanges { target: floatingPlaceholder; scale: 0.8 }
|
||||||
PropertyChanges { target: floatingPlaceholder; anchors.topMargin: -floatingPlaceholder.height * 0.4 }
|
PropertyChanges { target: floatingPlaceholder; anchors.topMargin: -floatingPlaceholder.height * 0.4 }
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,11 @@ Item {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Shortcut {
|
||||||
|
sequence: "Ctrl+F"
|
||||||
|
onActivated: searchField.forceActiveFocus()
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
Loading…
Reference in New Issue