summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-12-12 11:48:08 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-12-12 11:48:08 +0100
commit16ca02979aaf5c852ca6f363eb8acf15e6bc54f1 (patch)
tree4ec3f9bc6275a82641082d6271a81120f843f162
parentd33a51641ca2f3549d4cdf0fc85b55a97f38d894 (diff)
downloadkube-16ca02979aaf5c852ca6f363eb8acf15e6bc54f1.tar.gz
kube-16ca02979aaf5c852ca6f363eb8acf15e6bc54f1.zip
single mailview: reduce margins around sheets so we do not waste screenspace
-rw-r--r--components/package/contents/ui/SingleMailView.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml
index e737883e..caa170f6 100644
--- a/components/package/contents/ui/SingleMailView.qml
+++ b/components/package/contents/ui/SingleMailView.qml
@@ -96,26 +96,26 @@ Item {
96 } 96 }
97 97
98 header: Item { 98 header: Item {
99 height: Kirigami.Units.gridUnit 99 height: Kirigami.Units.gridUnit * 0.5
100 width: parent.width 100 width: parent.width
101 101
102 } 102 }
103 103
104 footer: Item { 104 footer: Item {
105 height: Kirigami.Units.gridUnit * 2 105 height: Kirigami.Units.gridUnit
106 width: parent.width 106 width: parent.width
107 } 107 }
108 108
109 delegate: Item { 109 delegate: Item {
110 110
111 height: sheet.height + Kirigami.Units.gridUnit * 2 111 height: sheet.height + Kirigami.Units.gridUnit
112 width: parent.width 112 width: parent.width
113 113
114 Rectangle { 114 Rectangle {
115 id: sheet 115 id: sheet
116 anchors.centerIn: parent 116 anchors.centerIn: parent
117 implicitHeight: header.height + body.height + (Kirigami.Units.gridUnit * 2.5) * 2 + footer.height 117 implicitHeight: header.height + body.height + (Kirigami.Units.gridUnit * 2.5) * 2 + footer.height
118 width: parent.width - Kirigami.Units.gridUnit * 4 118 width: parent.width - Kirigami.Units.gridUnit * 2
119 119
120 color: Kirigami.Theme.viewBackgroundColor 120 color: Kirigami.Theme.viewBackgroundColor
121 121