diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-10-30 16:09:41 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-10-30 16:09:41 +0100 |
commit | cae9227918f35c2774f64daffaa83ea971cfbb95 (patch) | |
tree | d1173b4994cce6a0410a79fdf6c9199a88a44b74 /components/package | |
parent | e4040f1c10bfd5df379fd2d3c2b278e099b9e72f (diff) | |
download | kube-cae9227918f35c2774f64daffaa83ea971cfbb95.tar.gz kube-cae9227918f35c2774f64daffaa83ea971cfbb95.zip |
mailviewer: adjust margins and spacing
Diffstat (limited to 'components/package')
-rw-r--r-- | components/package/contents/ui/MailViewer.qml | 4 | ||||
-rw-r--r-- | components/package/contents/ui/SingleMailView.qml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index 95b03b1b..eb97b7d9 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml | |||
@@ -28,7 +28,7 @@ Item { | |||
28 | id: root | 28 | id: root |
29 | property variant message; | 29 | property variant message; |
30 | property string html; | 30 | property string html; |
31 | property int desiredHeight: topPartLoader.height + newMailViewer.height + 50; | 31 | property int desiredHeight: topPartLoader.height + newMailViewer.height |
32 | 32 | ||
33 | clip: true | 33 | clip: true |
34 | 34 | ||
@@ -39,6 +39,7 @@ Item { | |||
39 | } | 39 | } |
40 | 40 | ||
41 | //BEGIN old mail viewer | 41 | //BEGIN old mail viewer |
42 | |||
42 | MessagePartTree { | 43 | MessagePartTree { |
43 | id: topPartLoader | 44 | id: topPartLoader |
44 | anchors.top: newMailViewer.bottom | 45 | anchors.top: newMailViewer.bottom |
@@ -89,4 +90,5 @@ Item { | |||
89 | message: root.message | 90 | message: root.message |
90 | } | 91 | } |
91 | html: messageParser.html | 92 | html: messageParser.html |
93 | |||
92 | } | 94 | } |
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index 73dedc7e..d7bd4cc8 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml | |||
@@ -198,7 +198,7 @@ Item { | |||
198 | 198 | ||
199 | anchors.bottom: parent.bottom | 199 | anchors.bottom: parent.bottom |
200 | 200 | ||
201 | height: Kirigami.Units.gridUnit * 3 | 201 | height: Kirigami.Units.gridUnit * 2 |
202 | width: parent.width | 202 | width: parent.width |
203 | 203 | ||
204 | Text { | 204 | Text { |