Commit 645a12da authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Bigger screenshots

parent b044d706
......@@ -177,7 +177,7 @@ DiscoverPage {
ScrollView {
Layout.fillWidth: true
Layout.minimumHeight: Kirigami.Units.gridUnit * 5
Layout.preferredHeight: Kirigami.Units.gridUnit * 13
Layout.bottomMargin: Kirigami.Units.largeSpacing
visible: screenshots.count > 0
ApplicationScreenshots {
......
......@@ -102,7 +102,7 @@ ListView {
readonly property real proportion: thumbnail.sourceSize.height/thumbnail.sourceSize.width
y: parent.height * 0.05
height: parent.height * 0.9
width: height/proportion
width: Math.max(50, height/proportion)
DropShadow {
source: thumbnail
anchors.fill: parent
......@@ -134,7 +134,10 @@ ListView {
Image {
id: thumbnail
source: small_image_url
height: parent.height
anchors {
top: parent.top
bottom: parent.bottom
}
fillMode: Image.PreserveAspectFit
smooth: true
}
......
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