From ef653b41f5959bbbe0f405e765844a9b388ae805 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 29 Dec 2015 09:50:47 -0800 Subject: QML UI: obtain a reasonable margin from QML This will be used later in the positioning of the profile. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetailsView.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt-mobile/qml') 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) + } } -- cgit v1.2.3-70-g09d2