diff options
Diffstat (limited to 'components/package/contents/ui/MailViewer.qml')
-rw-r--r-- | components/package/contents/ui/MailViewer.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index c51e2666..825d4aab 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml | |||
@@ -8,13 +8,18 @@ Item { | |||
8 | id: root | 8 | id: root |
9 | property variant message; | 9 | property variant message; |
10 | property string html; | 10 | property string html; |
11 | property int desiredHeight: topPartLoader.height; | ||
11 | 12 | ||
12 | Rectangle { | 13 | Rectangle { |
13 | id: rootRectangle | 14 | id: rootRectangle |
14 | anchors.fill: parent | 15 | anchors.fill: parent |
16 | anchors.margins: 0 | ||
15 | ScrollView { | 17 | ScrollView { |
16 | id: scrollView | 18 | id: scrollView |
17 | anchors.fill: parent | 19 | anchors.fill: parent |
20 | anchors.margins: 0 | ||
21 | horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff | ||
22 | verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff | ||
18 | MessagePartTree { | 23 | MessagePartTree { |
19 | id: topPartLoader | 24 | id: topPartLoader |
20 | width: rootRectangle.width | 25 | width: rootRectangle.width |