Optimize size of images

This commit is contained in:
Carl Schwan
2020-11-24 12:15:34 +01:00
parent 792be7acff
commit 9f734aa570
2 changed files with 1 additions and 11 deletions

View File

@@ -250,8 +250,7 @@ Kirigami.ScrollablePage {
innerObject: [
ImageDelegate {
Layout.maximumWidth: parent.width
Layout.preferredWidth: Math.min(320, info.w)
Layout.preferredHeight: Math.min(320, info.h)
Layout.minimumWidth: 320
},
ReactionDelegate {
Layout.fillWidth: true