summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/MailViewer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui/MailViewer.qml')
-rw-r--r--components/package/contents/ui/MailViewer.qml27
1 files changed, 4 insertions, 23 deletions
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml
index 150ee5aa..4ee170bd 100644
--- a/components/package/contents/ui/MailViewer.qml
+++ b/components/package/contents/ui/MailViewer.qml
@@ -27,40 +27,21 @@ Item {
27 id: root 27 id: root
28 property variant message; 28 property variant message;
29 property string html; 29 property string html;
30 property int desiredHeight: topPartLoader.height + newMailViewer.height + 20 30 property int desiredHeight: mailViewer.height + 20
31 property variant attachments 31 property variant attachments
32 32
33 clip: true 33 clip: true
34 34
35 MV.MailViewer { 35 MV.MailViewer {
36 id: newMailViewer 36 id: mailViewer
37 debug: false 37 debug: false
38 width: parent.width 38 width: parent.width
39 } 39 }
40 40
41 //BEGIN old mail viewer
42
43 MessagePartTree {
44 id: topPartLoader
45 anchors.top: newMailViewer.bottom
46
47 Text {
48 text: "old mailviewer"
49 color: "blue"
50 }
51
52 visible: false
53 // width: parent.width
54 height: topPartLoader.contentHeight
55 width: topPartLoader.contentWidth >= parent.width ? topPartLoader.contentWidth : parent.width
56 }
57
58 //END old mail viewer
59
60 Controls1.TreeView { 41 Controls1.TreeView {
61 id: mailStructure 42 id: mailStructure
62 anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : newMailViewer.bottom 43 anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : mailViewer.bottom
63 visible: newMailViewer.debug 44 visible: mailViewer.debug
64 width: parent.width 45 width: parent.width
65 height: 400 46 height: 400
66 Controls1.TableViewColumn { 47 Controls1.TableViewColumn {