diff --git a/imports/NeoChat/Component/ChatBox/ReplyPane.qml b/imports/NeoChat/Component/ChatBox/ReplyPane.qml index c2fe91d62..3696db418 100644 --- a/imports/NeoChat/Component/ChatBox/ReplyPane.qml +++ b/imports/NeoChat/Component/ChatBox/ReplyPane.qml @@ -49,10 +49,10 @@ Loader { Layout.fillWidth: true spacing: fontMetrics.leading Label { - textFormat: TextEdit.RichText - wrapMode: Label.Wrap + Layout.fillWidth: true + textFormat: Text.StyledText + elide: Text.ElideRight text: { - let stylesheet = "" let heading = "%1" let userName = user ? "" + user.displayName + "" : "" if (isEdit) { @@ -61,7 +61,7 @@ Loader { heading = heading.arg(i18n("Replying to %1:", userName)) } - return stylesheet + heading + return heading } } ScrollView {