kcms/effects: Set explicit spacing on layouts

Default value of 5 does not align with anything in KDE HIG.

Also a little bit of extra margin around the label looks better on top
of a search field.
remotes/origin/work/zzag/cursor-shape-v1
ivan tkachenko 3 years ago
parent e0a89bf97d
commit 9164784270
No known key found for this signature in database
GPG Key ID: AF72731B7C654CB3
  1. 2
      src/kcms/effects/package/contents/ui/Effect.qml
  2. 6
      src/kcms/effects/package/contents/ui/main.qml

@ -29,6 +29,8 @@ Kirigami.SwipeListItem {
}
contentItem: RowLayout {
spacing: Kirigami.Units.smallSpacing
QQC2.RadioButton {
readonly property bool _exclusive: model.ExclusiveRole != ""
property bool _toggled: false

@ -21,14 +21,20 @@ ScrollViewKCM {
implicitWidth: Kirigami.Units.gridUnit * 40
header: ColumnLayout {
spacing: Kirigami.Units.smallSpacing
QQC2.Label {
Layout.fillWidth: true
Layout.leftMargin: Kirigami.Units.smallSpacing
Layout.rightMargin: Kirigami.Units.smallSpacing
wrapMode: Text.WordWrap
text: i18n("Hint: To find out or configure how to activate an effect, look at the effect's settings.")
}
RowLayout {
spacing: Kirigami.Units.smallSpacing
Kirigami.SearchField {
id: searchField

Loading…
Cancel
Save