From 531eace0c3b00c110392a52d61a594107f3dafcf Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Tue, 8 Dec 2015 03:10:03 +0100 Subject: divelist polish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix page margins (gridUnit / 2) - trip heading marker now stretches over the full length Signed-off-by: Sebastian Kügler --- qt-mobile/qml/DiveList.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'qt-mobile/qml/DiveList.qml') diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml index 3f0342ba8..a104f1e6e 100644 --- a/qt-mobile/qml/DiveList.qml +++ b/qt-mobile/qml/DiveList.qml @@ -137,7 +137,8 @@ MobileComponents.Page { anchors { top: sectionText.bottom left: parent.left - leftMargin: MobileComponents.Units.gridUnit / 2 + leftMargin: MobileComponents.Units.gridUnit * -2 + rightMargin: MobileComponents.Units.gridUnit * -2 right: parent.right } color: subsurfaceTheme.accentColor @@ -170,7 +171,9 @@ MobileComponents.Page { section.delegate: tripHeading header: MobileComponents.Heading { x: MobileComponents.Units.gridUnit / 2 - y: x + height: paintedHeight + MobileComponents.Units.gridUnit / 2 + verticalAlignment: Text.AlignBottom + text: "Dive Log" opacity: 0.8 - startPage.opacity visible: opacity > 0 -- cgit v1.2.3-70-g09d2