From f7554adf8fd317c37b9034375e927bb91f463c1c Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Sat, 8 Jan 2022 15:00:16 -0500 Subject: [PATCH] widgets/krunner: Ensure plasma style is being followed --- .../qml/widgets/krunner/KRunnerWidget.qml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml b/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml index 3ee971d3..4c25d4aa 100644 --- a/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml +++ b/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml @@ -126,10 +126,10 @@ Item { Layout.leftMargin: PlasmaCore.Units.gridUnit Layout.rightMargin: PlasmaCore.Units.gridUnit - leftPadding: PlasmaCore.Units.smallSpacing / 2 - rightPadding: PlasmaCore.Units.smallSpacing / 2 - topPadding: PlasmaCore.Units.smallSpacing / 2 - bottomPadding: PlasmaCore.Units.smallSpacing / 2 + leftPadding: PlasmaCore.Units.smallSpacing + rightPadding: PlasmaCore.Units.smallSpacing + topPadding: PlasmaCore.Units.smallSpacing + bottomPadding: PlasmaCore.Units.smallSpacing background: Item { @@ -154,16 +154,17 @@ Item { Item { implicitHeight: queryField.height implicitWidth: height - Kirigami.Icon { + PlasmaCore.IconItem { anchors.fill: parent - anchors.margins: Math.round(Kirigami.Units.smallSpacing * 1.5) + anchors.margins: Math.round(Kirigami.Units.smallSpacing) source: "start-here-symbolic" } } - Kirigami.SearchField { + PlasmaComponents.TextField { id: queryField focus: true Layout.fillWidth: true + placeholderText: i18n("Search…") } } }