summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsView.qml
diff options
context:
space:
mode:
authorGravatar Marco Martin <notmart@gmail.com>2016-04-19 19:11:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-19 10:35:07 -0700
commitb3d0d9fd4eb192ebefe1fdc7b02f3d989f40b36a (patch)
tree5cd839c1d46604cc150aed094f082398266912b9 /mobile-widgets/qml/DiveDetailsView.qml
parent660f421d6d690f363893e8ca0edcd8203df73582 (diff)
downloadsubsurface-b3d0d9fd4eb192ebefe1fdc7b02f3d989f40b36a.tar.gz
Don't put margins outside the internal ListView
put the margins only around the fullscreen delegate of the listview, making the listview go all trough the screen edges. This because the cutted effect when the list view is half scrolled looks quite ugly. Making the ListView reach the borders also moves the scroll indicator at the screen edge where it conventionally is. Signed-off-by: Marco Martin <notmart@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsView.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index c10c38965..cec490815 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -36,7 +36,7 @@ Item {
top: parent.top
left: parent.left
right: parent.right
- margins: Math.round(Kirigami.Units.gridUnit / 2)
+ margins: Kirigami.Units.gridUnit
}
columns: 4
rowSpacing: Kirigami.Units.smallSpacing * 2