1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-10 04:52:41 +01:00

Fix search look and feel

This commit is contained in:
Elias Steurer 2019-12-20 11:35:10 +01:00
parent 1dfd6c735b
commit 83018adeab

View File

@ -305,8 +305,8 @@ Item {
width: 15 width: 15
sourceSize: Qt.size(15, 15) sourceSize: Qt.size(15, 15)
anchors { anchors {
right: txtSearch.left right: parent.right
rightMargin: 15 rightMargin: 30
bottom: parent.bottom bottom: parent.bottom
bottomMargin: 15 bottomMargin: 15
} }
@ -314,11 +314,14 @@ Item {
TextField { TextField {
id: txtSearch id: txtSearch
width: 300 width: 300
height: 40
font.family: "Roboto"
leftPadding: 10
anchors { anchors {
right: parent.right right: icnSearch.right
rightMargin: 30 rightMargin: 20
bottom: parent.bottom top:parent.top
bottomMargin: 5 topMargin:10
} }
onTextChanged: { onTextChanged: {
if (txtSearch.text.length === 0) { if (txtSearch.text.length === 0) {
@ -328,6 +331,7 @@ Item {
} }
} }
selectByMouse: true selectByMouse: true
placeholderText: qsTr("Search for Wallpaper & Widgets") placeholderText: qsTr("Search for Wallpaper & Widgets")
} }