diff options
author | link2xt <link2xt@testrun.org> | 2021-03-14 00:38:29 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-14 00:38:29 +0300 |
commit | ccbfe1f74a558dd7c26f04c53bbe63c05d514633 (patch) | |
tree | e2d9748d26d1e045fa704eeb65f364be71d91a7f /qml/Message.qml | |
parent | e8633b7a13de9fcb56ee29a9fc36d5520c2514a9 (diff) | |
download | kdeltachat-ccbfe1f74a558dd7c26f04c53bbe63c05d514633.tar.gz kdeltachat-ccbfe1f74a558dd7c26f04c53bbe63c05d514633.zip |
Use PreserveAspectCrop instead of PreserveAspectFit for images
This seems to be the easiest way to avoid space above and below the image.
Diffstat (limited to 'qml/Message.qml')
-rw-r--r-- | qml/Message.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/Message.qml b/qml/Message.qml index 9134a72..6628810 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -34,7 +34,7 @@ RowLayout { source: "file:" + messageObject.message.file sourceSize.width: messageObject.message.width sourceSize.height: messageObject.message.height - fillMode: Image.PreserveAspectFit + fillMode: Image.PreserveAspectCrop Layout.maximumWidth: messageObject.width } Label { |