aboutsummaryrefslogtreecommitdiff
path: root/qml/Message.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/Message.qml')
-rw-r--r--qml/Message.qml14
1 files changed, 13 insertions, 1 deletions
diff --git a/qml/Message.qml b/qml/Message.qml
index 0723546..3936e4e 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -61,9 +61,21 @@ RowLayout {
Loader {
sourceComponent: messageObject.message.viewtype == 20 ? imageMessageView : textMessageView
}
+
+ TextEdit {
+ Layout.maximumWidth: messageObject.width > 30 ? messageObject.width - 30 : messageObject.width
+ text: messageObject.message.quotedText ? messageObject.message.quotedText : ""
+ textFormat: Text.PlainText
+ selectByMouse: true
+ readOnly: true
+ color: "grey"
+ wrapMode: Text.Wrap
+ font.pixelSize: 12
+ }
+
TextEdit {
Layout.maximumWidth: messageObject.width > 30 ? messageObject.width - 30 : messageObject.width
- text: (messageObject.message.quotedText ? "> " + messageObject.message.quotedText + "\n\n" : "") + messageObject.message.text
+ text: messageObject.message.text
textFormat: Text.PlainText
selectByMouse: true
readOnly: true