TextField instead of TextInput
This commit is contained in:
@@ -61,15 +61,16 @@ Scope {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 10
|
anchors.margins: 10
|
||||||
|
|
||||||
TextInput {
|
TextField {
|
||||||
id: searchInput
|
id: searchInput
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: 30
|
Layout.preferredHeight: 30
|
||||||
Layout.leftMargin: 5
|
Layout.leftMargin: 5
|
||||||
font.pixelSize: 20
|
|
||||||
color: "white"
|
color: "white"
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
echoMode: TextInput.Normal
|
echoMode: TextInput.Normal
|
||||||
|
placeholderText: qsTr("Search applications...")
|
||||||
|
background: null
|
||||||
|
|
||||||
cursorDelegate: Rectangle {
|
cursorDelegate: Rectangle {
|
||||||
id: cursor
|
id: cursor
|
||||||
|
|||||||
Reference in New Issue
Block a user