kcms/scripts: Always set spacing property on Row & Column layouts

Default value of 5 does not visually align with anything in our HIG.
This commit is contained in:
ivan tkachenko 2023-05-31 16:44:18 +03:00 committed by Vlad Zahorodnii
parent 2542662dc9
commit ae11658e0c

View file

@ -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