Commit d4cb19fc authored by Carl Schwan's avatar Carl Schwan 🚴

Remove scrollbar for empty screenshot views

parent d94b94b1
......@@ -150,6 +150,7 @@ DiscoverPage {
}
ApplicationScreenshots {
id: applicationScreenshots
Layout.fillWidth: true
visible: count > 0
resource: appInfo.application
......@@ -158,6 +159,7 @@ DiscoverPage {
ScrollBar {
id: screenshotsScrollbar
Layout.fillWidth: true
visible: applicationScreenshots.count > 0
}
Label {
......
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