From dd582091bc72ddf61a66d2bc3a3e0ce47f2296b5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 1 May 2017 22:42:49 +0200 Subject: Mailviewer --- framework/qml/MailViewer.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framework/qml/MailViewer.qml') diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index 487da576..01f78fb9 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -26,21 +26,23 @@ import org.kube.framework 1.0 as Kube Item { id: root property variant message; - property string html; property int desiredHeight: mailViewer.height + 20 - property variant attachments + property variant attachments: messageParser.attachments clip: true MV.MailViewer { + anchors.top: root.top id: mailViewer + model: messageParser.newTree debug: false width: parent.width } Controls1.TreeView { id: mailStructure - anchors.top: messageParser.attachments.rowCount() > 0 ? attachments.bottom : mailViewer.bottom + // anchors.fill: parent + // anchors.top: root.attachments.rowCount() > 0 ? attachments.bottom : mailViewer.bottom visible: mailViewer.debug width: parent.width height: 400 @@ -71,6 +73,4 @@ Item { id: messageParser message: root.message } - attachments: messageParser.attachments - html: messageParser.html } -- cgit v1.2.3