From 96c0b73e6086fabb002eb82b76cdd9929d65e43e Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 8 Nov 2016 17:32:49 +0100 Subject: always display attachment model for now --- components/package/contents/ui/MailViewer.qml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'components/package/contents/ui/MailViewer.qml') 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 { id: root property variant message; property string html; - property int desiredHeight: topPartLoader.height + newMailViewer.height + attachments.height + mailStructure.height + 5 + property int desiredHeight: topPartLoader.height + newMailViewer.height + attachments.height + 20 clip: true @@ -59,8 +59,11 @@ Item { TreeView { id: attachments - anchors.top: newMailViewer.bottom - visible: messageParser.attachments.rowCount() > 0 + anchors { + top: newMailViewer.bottom + topMargin: 20 + } + //visible: messageParser.attachments.rowCount() > 0 width: parent.width height: 200 TableViewColumn { -- cgit v1.2.3