diff options
Diffstat (limited to 'components/mailviewer/qml/TextPart.qml')
-rw-r--r-- | components/mailviewer/qml/TextPart.qml | 10 |
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 @@ | |||
1 | import QtQuick 2.4 | ||
2 | |||
3 | Text { | ||
4 | width: delegateRoot.width | ||
5 | |||
6 | text: model.textContent | ||
7 | wrapMode: Text.WordWrap | ||
8 | |||
9 | color: embeded ? "grey" : "black" | ||
10 | } | ||