Set preferredWidth and preferredHeight of images

This commit is contained in:
Tobias Fella
2022-03-11 15:09:57 +01:00
parent aac96da2e2
commit 334c13b36c

View File

@@ -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 {