diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-05 10:01:12 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-05 10:02:31 +0200 |
commit | ce251cf8c12b64450873d1f01d955062dbe3ffbf (patch) | |
tree | c796fe1581beaa7d3d57b96ccb9bec4c8b70110b /components/mailviewer | |
parent | 16c9167799230aa74119a69ade0a935ccfcd91e8 (diff) | |
download | kube-ce251cf8c12b64450873d1f01d955062dbe3ffbf.tar.gz kube-ce251cf8c12b64450873d1f01d955062dbe3ffbf.zip |
Use the TextArea which properly clips the content if it is too wide
Diffstat (limited to 'components/mailviewer')
-rw-r--r-- | components/mailviewer/qml/TextContent.qml | 3 |
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 | ||
19 | import QtQuick 2.7 | 19 | import QtQuick 2.7 |
20 | import QtQuick.Controls 2 | ||
20 | 21 | ||
21 | import org.kube.framework 1.0 as Kube | 22 | import 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 { |