From 76b844bd6461d90f91a42fc02002accb694ec56d Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 27 Jun 2021 11:58:25 +0300 Subject: Fit message text on the screen if it is too narrow --- qml/Message.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2