aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-07 21:36:39 +0000
committerlink2xt <link2xt@testrun.org>2021-08-07 21:36:39 +0000
commit857b1a43112135a14a12b1c12e564f13451579f4 (patch)
tree84eefd3f4addbe226db80f679f2b255eb978f12e /qml
parent950f4f22c01ab75f613479ef831bdf38f395d1dd (diff)
downloadkdeltachat-857b1a43112135a14a12b1c12e564f13451579f4.tar.gz
kdeltachat-857b1a43112135a14a12b1c12e564f13451579f4.zip
Restrict image width to message width
Diffstat (limited to 'qml')
-rw-r--r--qml/Message.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qml/Message.qml b/qml/Message.qml
index 69f5f62..85cc2ac 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -53,6 +53,7 @@ RowLayout {
sourceSize.width: messageObject.message.width
sourceSize.height: messageObject.message.height
fillMode: Image.PreserveAspectCrop
+ Layout.preferredWidth: messageObject.width
Layout.maximumWidth: Kirigami.Units.gridUnit * 30
Layout.maximumHeight: Kirigami.Units.gridUnit * 20
asynchronous: true