summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-05 10:01:12 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-05 10:02:31 +0200
commitce251cf8c12b64450873d1f01d955062dbe3ffbf (patch)
treec796fe1581beaa7d3d57b96ccb9bec4c8b70110b /components
parent16c9167799230aa74119a69ade0a935ccfcd91e8 (diff)
downloadkube-ce251cf8c12b64450873d1f01d955062dbe3ffbf.tar.gz
kube-ce251cf8c12b64450873d1f01d955062dbe3ffbf.zip
Use the TextArea which properly clips the content if it is too wide
Diffstat (limited to 'components')
-rw-r--r--components/mailviewer/qml/TextContent.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/mailviewer/qml/TextContent.qml b/components/mailviewer/qml/TextContent.qml
index 95e196b4..114aa1fb 100644
--- a/components/mailviewer/qml/TextContent.qml
+++ b/components/mailviewer/qml/TextContent.qml
@@ -17,6 +17,7 @@
17*/ 17*/
18 18
19import QtQuick 2.7 19import QtQuick 2.7
20import QtQuick.Controls 2
20 21
21import org.kube.framework 1.0 as Kube 22import org.kube.framework 1.0 as Kube
22 23
@@ -35,7 +36,7 @@ Item {
35 textEdit.text = root.content 36 textEdit.text = root.content
36 } 37 }
37 38
38 TextEdit { 39 TextArea {
39 id: textEdit 40 id: textEdit
40 41
41 anchors { 42 anchors {