summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/qml/TextPart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/mailviewer/qml/TextPart.qml')
-rw-r--r--components/mailviewer/qml/TextPart.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/mailviewer/qml/TextPart.qml b/components/mailviewer/qml/TextPart.qml
new file mode 100644
index 00000000..3a4c8d22
--- /dev/null
+++ b/components/mailviewer/qml/TextPart.qml
@@ -0,0 +1,10 @@
1import QtQuick 2.4
2
3Text {
4 width: delegateRoot.width
5
6 text: model.textContent
7 wrapMode: Text.WordWrap
8
9 color: embeded ? "grey" : "black"
10}