diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 01:02:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-14 01:23:10 +0200 |
commit | df326b81ddcafb45467c9e1e434c09e8b12a6baa (patch) | |
tree | 3b005fa68a3504f0b7454a4e1a8ef56c0dd7b9dd /components/package/contents/ui/MailViewer.qml | |
parent | 1213815b42e94f41817b79fc9e311742a330d9ae (diff) | |
download | kube-df326b81ddcafb45467c9e1e434c09e8b12a6baa.tar.gz kube-df326b81ddcafb45467c9e1e434c09e8b12a6baa.zip |
Prepared WebEngine port and resize according to content
Diffstat (limited to 'components/package/contents/ui/MailViewer.qml')
-rw-r--r-- | components/package/contents/ui/MailViewer.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index d62daaf2..53808ddd 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml | |||
@@ -26,12 +26,13 @@ Item { | |||
26 | spacing:2 | 26 | spacing:2 |
27 | MessagePartTree { | 27 | MessagePartTree { |
28 | id: topPartLoader | 28 | id: topPartLoader |
29 | width: rootRectangle.width | 29 | // width: rootRectangle.width |
30 | height: topPartLoader.desiredHeight | 30 | height: topPartLoader.contentHeight |
31 | width: topPartLoader.contentWidth >= rootRectangle.width ? topPartLoader.contentWidth : rootRectangle.width | ||
31 | } | 32 | } |
32 | TreeView { | 33 | TreeView { |
33 | visible: enablePartTreeView | 34 | visible: enablePartTreeView |
34 | width: 500 | 35 | width: rootRectangle.width |
35 | height: 400 | 36 | height: 400 |
36 | TableViewColumn { | 37 | TableViewColumn { |
37 | role: "type" | 38 | role: "type" |