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

Stop enforcing spacings

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:
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)
Supports Markdown
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