Allow TextDelegate to wrap anywhere if required

Prevents lines from going out of the message bubble
This commit is contained in:
Tobias Fella
2021-09-20 23:31:36 +02:00
parent 50040230f5
commit cb2ea5f4e3
2 changed files with 1 additions and 2 deletions

View File

@@ -79,7 +79,6 @@ MouseArea {
id: replyText
textMessage: reply.display
textFormat: Text.RichText
wrapMode: Text.WordWrap
width: Math.min(implicitWidth, bubbleMaxWidth - Kirigami.Units.largeSpacing * 3)
x: Kirigami.Units.smallSpacing * 3 + avatatReply.width
}