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