diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-11-08 17:32:49 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-11-08 17:32:49 +0100 |
commit | 96c0b73e6086fabb002eb82b76cdd9929d65e43e (patch) | |
tree | 21e414a74c50ce86a0879ae54a6006e664c8c2c4 | |
parent | e8fb7de6fc6a9c5e56fd827e65745a0781761b3d (diff) | |
download | kube-96c0b73e6086fabb002eb82b76cdd9929d65e43e.tar.gz kube-96c0b73e6086fabb002eb82b76cdd9929d65e43e.zip |
always display attachment model for now
-rw-r--r-- | components/package/contents/ui/MailViewer.qml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index 01163277..d7581470 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml | |||
@@ -28,7 +28,7 @@ Item { | |||
28 | id: root | 28 | id: root |
29 | property variant message; | 29 | property variant message; |
30 | property string html; | 30 | property string html; |
31 | property int desiredHeight: topPartLoader.height + newMailViewer.height + attachments.height + mailStructure.height + 5 | 31 | property int desiredHeight: topPartLoader.height + newMailViewer.height + attachments.height + 20 |
32 | 32 | ||
33 | clip: true | 33 | clip: true |
34 | 34 | ||
@@ -59,8 +59,11 @@ Item { | |||
59 | 59 | ||
60 | TreeView { | 60 | TreeView { |
61 | id: attachments | 61 | id: attachments |
62 | anchors.top: newMailViewer.bottom | 62 | anchors { |
63 | visible: messageParser.attachments.rowCount() > 0 | 63 | top: newMailViewer.bottom |
64 | topMargin: 20 | ||
65 | } | ||
66 | //visible: messageParser.attachments.rowCount() > 0 | ||
64 | width: parent.width | 67 | width: parent.width |
65 | height: 200 | 68 | height: 200 |
66 | TableViewColumn { | 69 | TableViewColumn { |