diff options
author | link2xt <link2xt@testrun.org> | 2021-06-27 11:58:25 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-06-27 11:58:25 +0300 |
commit | 76b844bd6461d90f91a42fc02002accb694ec56d (patch) | |
tree | d167600cbb70ce3659624e63f25a1758bfdd8f22 /qml/Message.qml | |
parent | d5d8f9a4abd6ee9c2cf2e7b938b6dd8313dc5794 (diff) | |
download | kdeltachat-76b844bd6461d90f91a42fc02002accb694ec56d.tar.gz kdeltachat-76b844bd6461d90f91a42fc02002accb694ec56d.zip |
Fit message text on the screen if it is too narrow
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 417c086..1c7f7f3 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -191,7 +191,7 @@ RowLayout { // Message TextEdit { - Layout.maximumWidth: Kirigami.Units.gridUnit * 30 + Layout.maximumWidth: Math.min(messageObject.width, Kirigami.Units.gridUnit * 30) textFormat: Text.PlainText selectByMouse: true readOnly: true |