1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-20 01:11:47 +02: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
sourceSize: Qt.size(15, 15)
anchors {
right: txtSearch.left
rightMargin: 15
right: parent.right
rightMargin: 30
bottom: parent.bottom
bottomMargin: 15
}
@ -314,11 +314,14 @@ Item {
TextField {
id: txtSearch
width: 300
height: 40
font.family: "Roboto"
leftPadding: 10
anchors {
right: parent.right
rightMargin: 30
bottom: parent.bottom
bottomMargin: 5
right: icnSearch.right
rightMargin: 20
top:parent.top
topMargin:10
}
onTextChanged: {
if (txtSearch.text.length === 0) {
@ -328,6 +331,7 @@ Item {
}
}
selectByMouse: true
placeholderText: qsTr("Search for Wallpaper & Widgets")
}