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

@@ -37,15 +37,6 @@ Image {
fillMode: Image.PreserveAspectCrop
layer.enabled: true
layer.effect: OpacityMask {
maskSource: Rectangle {
width: img.width
height: img.height
radius: 2
}
}
Control {
anchors.bottom: parent.bottom
anchors.bottomMargin: 8

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