aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-12-08 03:10:03 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2015-12-08 04:55:56 +0100
commit531eace0c3b00c110392a52d61a594107f3dafcf (patch)
tree92e9f6857c9595ca876da2c5ab817fd4cf7f4f9b /qt-mobile/qml/DiveList.qml
parent36e3c5485ef0cfa8a9964876e01324a7fd7fe254 (diff)
downloadsubsurface-531eace0c3b00c110392a52d61a594107f3dafcf.tar.gz
divelist polish
- fix page margins (gridUnit / 2) - trip heading marker now stretches over the full length Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r--qt-mobile/qml/DiveList.qml7
1 files changed, 5 insertions, 2 deletions
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