summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 09:50:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 09:50:47 -0800
commitef653b41f5959bbbe0f405e765844a9b388ae805 (patch)
treed667c35b8efba58eaabc5baccc952ce0e34d5615 /qt-mobile/qml
parent9df3835035f016231d02e95968c02bd5f100ee1a (diff)
downloadsubsurface-ef653b41f5959bbbe0f405e765844a9b388ae805.tar.gz
QML UI: obtain a reasonable margin from QML
This will be used later in the positioning of the profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/DiveDetailsView.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml
index e81aabb4f..c75fc91df 100644
--- a/qt-mobile/qml/DiveDetailsView.qml
+++ b/qt-mobile/qml/DiveDetailsView.qml
@@ -213,4 +213,7 @@ GridLayout {
Layout.fillWidth: true
Layout.minimumHeight: MobileComponents.Units.gridUnit * 3
}
+ Component.onCompleted: {
+ qmlProfile.setMargin(MobileComponents.Units.smallSpacing)
+ }
}