Add clear button to Search Field

This commit is contained in:
Antonis Tsiapaliokas 2013-09-10 10:54:46 +03:00 committed by Martin Gräßlin
parent 14b66445e3
commit 8f6e40adbb

View file

@ -22,6 +22,7 @@ import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Layouts 1.0
import org.kde.kwin.kwincompositing 1.0
import org.kde.plasma.components 2.0 as PlasmaComponents
Item {
@ -77,8 +78,9 @@ Item {
top: parent.top
left: parent.left
}
TextField {
PlasmaComponents.TextField {
id: searchField
clearButtonShown: true
Layout.fillWidth: true
height: 20
anchors {