From ae11658e0cea52a5d4595974b0988cc07bff596e Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Wed, 31 May 2023 16:44:18 +0300 Subject: [PATCH] kcms/scripts: Always set spacing property on Row & Column layouts Default value of 5 does not visually align with anything in our HIG. --- src/kcms/scripts/package/contents/ui/main.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kcms/scripts/package/contents/ui/main.qml b/src/kcms/scripts/package/contents/ui/main.qml index 4631091bbc..8ed8a07e4e 100644 --- a/src/kcms/scripts/package/contents/ui/main.qml +++ b/src/kcms/scripts/package/contents/ui/main.qml @@ -18,7 +18,9 @@ import org.kde.kcmutils as KCMUtils ScrollViewKCM { implicitWidth: Kirigami.Units.gridUnit * 22 implicitHeight: Kirigami.Units.gridUnit * 20 + header: ColumnLayout { + spacing: Kirigami.Units.smallSpacing Kirigami.InlineMessage { Layout.fillWidth: true @@ -26,13 +28,13 @@ ScrollViewKCM { type: kcm.errorMessage ? Kirigami.MessageType.Error : Kirigami.MessageType.Information text: kcm.errorMessage || kcm.infoMessage } + Kirigami.SearchField { Layout.fillWidth: true id: searchField } } - view: KCMUtils.KPluginSelector { id: selector sourceModel: kcm.model