Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b6488258 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Stop enforcing spacings

Summary:
Kirigami isn't designed to have this spacing between elements and it keeps
changing what it looks like.

BUG: 396895

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14474
parent 9c496d0e
......@@ -165,12 +165,8 @@ DiscoverPage
}
}
spacing: Kirigami.Units.smallSpacing
delegate: Kirigami.AbstractListItem {
backgroundColor: Kirigami.Theme.viewBackgroundColor
x: Kirigami.Units.gridUnit
width: ListView.view.width - Kirigami.Units.gridUnit * 2
highlighted: ListView.isCurrentItem
onEnabledChanged: if (!enabled) {
layout.extended = false;
......@@ -194,6 +190,7 @@ DiscoverPage
CheckBox {
id: itemChecked
Layout.leftMargin: Kirigami.Units.gridUnit
Layout.alignment: Qt.AlignVCenter
checked: model.checked == Qt.Checked
onClicked: model.checked = (model.checked==Qt.Checked ? Qt.Unchecked : Qt.Checked)
......
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