aboutsummaryrefslogtreecommitdiff
path: root/qml/Message.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-14 02:50:36 +0300
committerlink2xt <link2xt@testrun.org>2021-03-14 02:50:36 +0300
commit1013f97eb011c0e9189c567307d66d8758b4678d (patch)
treed1d0e06229fdc522d4787ec763f539989f3767f4 /qml/Message.qml
parentb552ef2cad512403f1e40a23dc799a73d475b2ed (diff)
downloadkdeltachat-1013f97eb011c0e9189c567307d66d8758b4678d.tar.gz
kdeltachat-1013f97eb011c0e9189c567307d66d8758b4678d.zip
Limit image height
Diffstat (limited to 'qml/Message.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 fd50358..7e12996 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -40,6 +40,7 @@ RowLayout {
sourceSize.height: messageObject.message.height
fillMode: Image.PreserveAspectCrop
Layout.maximumWidth: messageObject.width
+ Layout.maximumHeight: Kirigami.Units.gridUnit * 10
asynchronous: true
}
Label {