Set preferredWidth and preferredHeight of images
This commit is contained in:
@@ -37,6 +37,8 @@ TimelineContainer {
|
||||
|
||||
Layout.maximumWidth: imageDelegate.bubbleMaxWidth
|
||||
Layout.maximumHeight: imageDelegate.bubbleMaxWidth / imageDelegate.info.w * imageDelegate.info.h
|
||||
Layout.preferredWidth: imageDelegate.info.w
|
||||
Layout.preferredHeight: imageDelegate.info.h
|
||||
source: model.mediaUrl
|
||||
|
||||
Image {
|
||||
|
||||
Reference in New Issue
Block a user