From ccece5112f574bbf30ef64636c3d120ccce973a9 Mon Sep 17 00:00:00 2001 From: Black Date: Tue, 7 Apr 2020 20:39:49 -0700 Subject: [PATCH] More changes. --- .../Spectral/Component/Timeline/MessageDelegate.qml | 10 +++++----- imports/Spectral/Component/Timeline/TextDelegate.qml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/imports/Spectral/Component/Timeline/MessageDelegate.qml b/imports/Spectral/Component/Timeline/MessageDelegate.qml index e800994a8..6024c1e76 100644 --- a/imports/Spectral/Component/Timeline/MessageDelegate.qml +++ b/imports/Spectral/Component/Timeline/MessageDelegate.qml @@ -89,17 +89,17 @@ RowLayout { wrapMode: Text.Wrap } - TextEdit { + Text { Layout.fillWidth: true text: "" + (replyVisible ? reply.display : "") color: Kirigami.Theme.textColor - selectionColor: Kirigami.Theme.highlightColor - selectedTextColor: Kirigami.Theme.highlightedTextColor +// selectionColor: Kirigami.Theme.highlightColor +// selectedTextColor: Kirigami.Theme.highlightedTextColor - selectByMouse: true - readOnly: true +// selectByMouse: true +// readOnly: true wrapMode: Text.WrapAtWordBoundaryOrAnywhere textFormat: Text.RichText } diff --git a/imports/Spectral/Component/Timeline/TextDelegate.qml b/imports/Spectral/Component/Timeline/TextDelegate.qml index c9c3455fb..69789897a 100644 --- a/imports/Spectral/Component/Timeline/TextDelegate.qml +++ b/imports/Spectral/Component/Timeline/TextDelegate.qml @@ -2,7 +2,7 @@ import QtQuick 2.12 import org.kde.kirigami 2.4 as Kirigami -TextEdit { +Text { text: "" + display font { @@ -11,11 +11,11 @@ TextEdit { } color: Kirigami.Theme.textColor - selectionColor: Kirigami.Theme.highlightColor - selectedTextColor: Kirigami.Theme.highlightedTextColor +// selectionColor: Kirigami.Theme.highlightColor +// selectedTextColor: Kirigami.Theme.highlightedTextColor - selectByMouse: true - readOnly: true +// selectByMouse: true +// readOnly: true wrapMode: Text.WrapAtWordBoundaryOrAnywhere textFormat: Text.RichText }