diff --git a/src/app/commoncomponents/ReplyToRow.qml b/src/app/commoncomponents/ReplyToRow.qml index 7ec52fcc1af6bf674100d6ecfcee535519e6d4d6..9e9a1449d374a35b5b5960712e35651a071e3e46 100644 --- a/src/app/commoncomponents/ReplyToRow.qml +++ b/src/app/commoncomponents/ReplyToRow.qml @@ -84,9 +84,15 @@ Item { Layout.maximumWidth: JamiTheme.preferredFieldWidth - JamiTheme.preferredMarginSize Layout.rightMargin: JamiTheme.preferredMarginSize - text: ReplyToBody - elide: Text.ElideRight + TextMetrics { + id: metrics + elide: Text.ElideRight + elideWidth: JamiTheme.preferredFieldWidth - JamiTheme.preferredMarginSize + text: ReplyToBody + } + textFormat: Text.MarkdownText + text: metrics.elidedText color: UtilsAdapter.luma(bubble.color) ? JamiTheme.chatviewTextColorLight :