add sourceSize to ProfileThumbnail
This commit is contained in:
parent
68e2dab715
commit
ac9d761742
1 changed files with 3 additions and 1 deletions
|
@ -64,9 +64,11 @@ Item {
|
|||
Image {
|
||||
id: singleImage
|
||||
width: parent.width - Theme.paddingSmall
|
||||
height: parent.height - Theme.paddingSmall
|
||||
height: width
|
||||
anchors.centerIn: parent
|
||||
source: file.path
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
autoTransform: true
|
||||
asynchronous: true
|
||||
|
|
Loading…
Reference in a new issue