Commit 6d496815 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Make sure the application delegate doesn't overflow when the view is narrow

Let the resource name size change if there's not enough space
Hide the categories when the view too small to show them

BUG: 372561
parent 7143b7eb
......@@ -71,8 +71,10 @@ Kirigami.AbstractListItem
RowLayout {
Layout.fillWidth: true
Heading {
Layout.fillWidth: true
elide: Text.ElideRight
text: name
maximumLineCount: 1
Label {
Layout.fillWidth: true
......@@ -80,6 +82,7 @@ Kirigami.AbstractListItem
horizontalAlignment: Text.AlignRight
text: categoryDisplay
color: Kirigami.Theme.linkColor
visible: parent.width > implicitWidth
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