From 16ca02979aaf5c852ca6f363eb8acf15e6bc54f1 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 12 Dec 2016 11:48:08 +0100 Subject: single mailview: reduce margins around sheets so we do not waste screenspace --- components/package/contents/ui/SingleMailView.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/package/contents') 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 { } header: Item { - height: Kirigami.Units.gridUnit + height: Kirigami.Units.gridUnit * 0.5 width: parent.width } footer: Item { - height: Kirigami.Units.gridUnit * 2 + height: Kirigami.Units.gridUnit width: parent.width } delegate: Item { - height: sheet.height + Kirigami.Units.gridUnit * 2 + height: sheet.height + Kirigami.Units.gridUnit width: parent.width Rectangle { id: sheet anchors.centerIn: parent implicitHeight: header.height + body.height + (Kirigami.Units.gridUnit * 2.5) * 2 + footer.height - width: parent.width - Kirigami.Units.gridUnit * 4 + width: parent.width - Kirigami.Units.gridUnit * 2 color: Kirigami.Theme.viewBackgroundColor -- cgit v1.2.3