summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/contents/ui/TextContent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/mailviewer/contents/ui/TextContent.qml')
-rw-r--r--components/mailviewer/contents/ui/TextContent.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/mailviewer/contents/ui/TextContent.qml b/components/mailviewer/contents/ui/TextContent.qml
index 90442b8f..f8ef7f9a 100644
--- a/components/mailviewer/contents/ui/TextContent.qml
+++ b/components/mailviewer/contents/ui/TextContent.qml
@@ -21,14 +21,13 @@ import QtQuick 2.7
21import org.kube.framework 1.0 as Kube 21import org.kube.framework 1.0 as Kube
22 22
23Item { 23Item {
24 id: textItem 24 id: root
25 25
26 property string content 26 property string content
27 property bool debug: true 27 property bool debug: true
28 property bool embedded: true 28 property bool embedded: true
29 property string type 29 property string type
30 30
31 width: partColumn.width
32 height: textColumn.height 31 height: textColumn.height
33 32
34 Column { 33 Column {
@@ -37,9 +36,9 @@ Item {
37 anchors { 36 anchors {
38 top: parent.top 37 top: parent.top
39 left: parent.left 38 left: parent.left
39 right: parent.right
40 } 40 }
41 41
42 width: parent.width
43 spacing: 5 42 spacing: 5
44 43
45 TextEdit { 44 TextEdit {
@@ -59,7 +58,7 @@ Item {
59 //BEGIN debug 58 //BEGIN debug
60 Text { 59 Text {
61 width: parent.width 60 width: parent.width
62 visible: textItem.debug 61 visible: root.debug
63 text: type 62 text: type
64 } 63 }
65 //END debug 64 //END debug