TextField instead of TextInput

This commit is contained in:
Zacharias-Brohn
2025-11-10 09:39:10 +01:00
parent 2538c2120d
commit d02e60a682
+3 -2
View File
@@ -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