Optimize size of images
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user