From 46486a878310df55b686b8fbc2b6aaf35d613da7 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 23 Feb 2018 09:32:04 +0100 Subject: Demonstrate reflow problems ...and cleanup the sizes of the text/html part a bit. Html content with a
 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.
---
 views/conversation/main.qml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'views')

diff --git a/views/conversation/main.qml b/views/conversation/main.qml
index 9e17a0b6..686aeecb 100644
--- a/views/conversation/main.qml
+++ b/views/conversation/main.qml
@@ -100,6 +100,23 @@ ApplicationWindow {
                             to: ["öüä@example.org"],
                             unread: true
                         },
+                        {
+                            resource: "resource1",
+                            date: "2017-07-20T17:47:29",
+                            subject: "PlainLongLine",
+                            body: "Hi Mélanie,\n\nI'm sorry to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n",
+                            to: ["to@example.org"],
+                            unread: true
+                        },
+                        {
+                            resource: "resource1",
+                            date: "2017-07-20T17:46:29",
+                            subject: "HTMLLongLine",
+                            body: "
Hi Mélanie,\n\nI'm sorry to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n
",
+                            bodyIsHtml: true,
+                            to: ["to@example.org"],
+                            unread: true
+                        },
                     ]
                 }],
         }
-- 
cgit v1.2.3