summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/mailviewer/qml/TextContent.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/components/mailviewer/qml/TextContent.qml b/components/mailviewer/qml/TextContent.qml
index 8c246e00..f0f0442d 100644
--- a/components/mailviewer/qml/TextContent.qml
+++ b/components/mailviewer/qml/TextContent.qml
@@ -18,6 +18,7 @@
18 18
19import QtQuick 2.7 19import QtQuick 2.7
20import QtQuick.Controls 2 20import QtQuick.Controls 2
21import QtQuick.Templates 2.0 as T
21 22
22import org.kube.framework 1.0 as Kube 23import org.kube.framework 1.0 as Kube
23 24
@@ -37,7 +38,7 @@ Item {
37 textEdit.text = root.content 38 textEdit.text = root.content
38 } 39 }
39 40
40 TextArea { 41 T.TextArea {
41 id: textEdit 42 id: textEdit
42 43
43 anchors { 44 anchors {
@@ -46,8 +47,10 @@ Item {
46 right: parent.right 47 right: parent.right
47 } 48 }
48 49
49 selectionColor: Kube.Colors.highlightColor 50 implicitWidth: contentWidth
51 implicitHeight: contentHeight
50 52
53 selectionColor: Kube.Colors.highlightColor
51 readOnly: true 54 readOnly: true
52 selectByMouse: true 55 selectByMouse: true
53 56