Improve image delegate sizing
This commit is contained in:
@@ -35,7 +35,7 @@ Image {
|
||||
sourceSize.width: info.w
|
||||
sourceSize.height: info.h
|
||||
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
fillMode: Image.PreserveAspectFit
|
||||
|
||||
Control {
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
@@ -338,6 +338,7 @@ Kirigami.ScrollablePage {
|
||||
ImageDelegate {
|
||||
Layout.maximumWidth: parent.width
|
||||
Layout.minimumWidth: 320
|
||||
Layout.preferredHeight: info.h / info.w * width
|
||||
},
|
||||
ReactionDelegate {
|
||||
Layout.fillWidth: true
|
||||
|
||||
Reference in New Issue
Block a user