diff options
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" |