diff --git a/imports/NeoChat/Component/Timeline/ReplyComponent.qml b/imports/NeoChat/Component/Timeline/ReplyComponent.qml index 5ecdaa3b7..6c1136c14 100644 --- a/imports/NeoChat/Component/Timeline/ReplyComponent.qml +++ b/imports/NeoChat/Component/Timeline/ReplyComponent.qml @@ -8,6 +8,7 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 as QQC2 import QtQuick.Layouts 1.12 import org.kde.kirigami 2.13 as Kirigami +import NeoChat.Component.Timeline 1.0 QQC2.AbstractButton { visible: replyVisible @@ -44,11 +45,10 @@ QQC2.AbstractButton { elide: Text.ElideRight } - QQC2.Label { + TextDelegate { Layout.fillWidth: true - text: replyVisible ? reply.display : "" + text: replyVisible ? ("" + reply.display) : "" textFormat: Text.RichText - elide: Text.ElideRight wrapMode: Text.WordWrap } }