summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/qml/HtmlContent.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/HtmlContent.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/HtmlContent.qml')
-rw-r--r--components/mailviewer/qml/HtmlContent.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/mailviewer/qml/HtmlContent.qml b/components/mailviewer/qml/HtmlContent.qml
index 3ac1bb38..f0249a01 100644
--- a/components/mailviewer/qml/HtmlContent.qml
+++ b/components/mailviewer/qml/HtmlContent.qml
@@ -28,8 +28,6 @@ Item {
28 //We have to give it a minimum size so the html content starts to expand 28 //We have to give it a minimum size so the html content starts to expand
29 property int contentHeight: 10; 29 property int contentHeight: 10;
30 30
31 height: contentHeight
32 width: partColumn.width
33 31
34 WebEngineView { 32 WebEngineView {
35 id: htmlView 33 id: htmlView