From 089f32722393826da96118b1146e10f4dd226a2f Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sun, 22 Nov 2020 12:13:35 +0100 Subject: [PATCH] Wrap text in replies --- imports/NeoChat/Component/Timeline/ReplyComponent.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imports/NeoChat/Component/Timeline/ReplyComponent.qml b/imports/NeoChat/Component/Timeline/ReplyComponent.qml index 91a8a6b4f..829e3180e 100644 --- a/imports/NeoChat/Component/Timeline/ReplyComponent.qml +++ b/imports/NeoChat/Component/Timeline/ReplyComponent.qml @@ -14,6 +14,8 @@ RowLayout { visible: replyVisible + Component.onCompleted: parent.Layout.fillWidth = true + Rectangle { Layout.preferredWidth: Kirigami.Units.smallSpacing Layout.fillHeight: true @@ -47,6 +49,7 @@ RowLayout { text: replyVisible ? reply.display : "" textFormat: Text.RichText elide: Text.ElideRight + wrapMode: Text.WordWrap } } }