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

Remove weird padding at the bottom of resource lists

The "still looking" item was still present albeit invisible. This change
changes its height to 0 when it's invisible so it doesn't affect the UI
when it's not visible.
parent 9dc488c2
...@@ -143,6 +143,7 @@ DiscoverPage { ...@@ -143,6 +143,7 @@ DiscoverPage {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
visible: appsModel.isBusy && apps.atYEnd visible: appsModel.isBusy && apps.atYEnd
opacity: visible ? 0.5 : 0 opacity: visible ? 0.5 : 0
height: visible ? preferredHeight : 0
Item { Item {
Layout.preferredHeight: units.gridUnit Layout.preferredHeight: units.gridUnit
......
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