diff options
author | link2xt <link2xt@testrun.org> | 2021-08-07 21:36:39 +0000 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-08-07 21:36:39 +0000 |
commit | 857b1a43112135a14a12b1c12e564f13451579f4 (patch) | |
tree | 84eefd3f4addbe226db80f679f2b255eb978f12e /qml | |
parent | 950f4f22c01ab75f613479ef831bdf38f395d1dd (diff) | |
download | kdeltachat-857b1a43112135a14a12b1c12e564f13451579f4.tar.gz kdeltachat-857b1a43112135a14a12b1c12e564f13451579f4.zip |
Restrict image width to message width
Diffstat (limited to 'qml')
-rw-r--r-- | qml/Message.qml | 1 |
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 |