diff options
Diffstat (limited to 'components/package/contents/ui')
-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 { |