Commit fdac8642 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Use Kirigami.SearchField

parent 6b6fd1dc
......@@ -25,7 +25,7 @@ import QtQuick.Controls 2.0 as Controls
import QtQuick.Layouts 1.7
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami 2.6 as Kirigami
import org.kde.kirigami 2.9 as Kirigami
import org.kde.people 1.0 as KPeople
Kirigami.ScrollablePage {
......@@ -60,9 +60,8 @@ Kirigami.ScrollablePage {
height: searchField.implicitHeight + 2 * Kirigami.Units.largeSpacing
width: root.width
Controls.TextField {
Kirigami.SearchField {
id: searchField
placeholderText: i18n("Search")
anchors.centerIn: parent
anchors.margins: Kirigami.Units.largeSpacing
width: parent.width - 2 * Kirigami.Units.largeSpacing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment