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

Use a nicer delegate for the missing backends items in the sources

Won't get under the scroll bar, uses a BasicListItem rather than a raw
RowLayout.
parent 67410504
......@@ -216,12 +216,10 @@ DiscoverPage {
model: ResourcesProxyModel {
extending: "org.kde.discover.desktop"
}
delegate: RowLayout {
visible: !model.application.isInstalled
QQC2.Label {
Layout.fillWidth: true
text: name
}
delegate: Kirigami.BasicListItem {
supportsMouseEvents: false
label: name
icon: model.icon
InstallApplicationButton {
application: model.application
}
......
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