fix: fix long texts to wrap correctly in chat bubble

This commit is contained in:
Jonathan Rainville 2020-06-18 15:33:35 -04:00 committed by Iuri Matias
parent 21afaf4ea4
commit bae8e44f37
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ Item {
anchors.rightMargin: message.length > 52 ? parent.chatHorizontalPadding : 0
horizontalAlignment: !isCurrentUser ? Text.AlignLeft : Text.AlignRight
font.family: "Inter"
wrapMode: Text.WordWrap
wrapMode: Text.WrapAnywhere
anchors.top: parent.top
anchors.topMargin: chatBox.chatVerticalPadding
font.pixelSize: 15