summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/qml/TextContent.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-23 09:32:04 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-23 09:52:02 +0100
commit46486a878310df55b686b8fbc2b6aaf35d613da7 (patch)
treec4032ae842c20cb73e0dc6ce3b039230ededaf70 /components/mailviewer/qml/TextContent.qml
parenta9b086954e17d6f2d64ac94b225577cb0e416f4f (diff)
downloadkube-46486a878310df55b686b8fbc2b6aaf35d613da7.tar.gz
kube-46486a878310df55b686b8fbc2b6aaf35d613da7.zip
Demonstrate reflow problems
...and cleanup the sizes of the text/html part a bit. Html content with a <pre> tag, such as inserted by an apple mail reply, is not reflowed in the TextEdit (it is in the WebEngineView). And that causes the text edit to run off the side of the conversation view.
Diffstat (limited to 'components/mailviewer/qml/TextContent.qml')
-rw-r--r--components/mailviewer/qml/TextContent.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/mailviewer/qml/TextContent.qml b/components/mailviewer/qml/TextContent.qml
index 5d8dbc90..316786ef 100644
--- a/components/mailviewer/qml/TextContent.qml
+++ b/components/mailviewer/qml/TextContent.qml
@@ -27,7 +27,7 @@ Item {
27 property bool embedded: true 27 property bool embedded: true
28 property string type 28 property string type
29 29
30 height: textEdit.height 30 property int contentHeight: textEdit.height
31 31
32 TextEdit { 32 TextEdit {
33 id: textEdit 33 id: textEdit