diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-29 13:11:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-29 13:11:10 -0800 |
commit | bb1803986afed7d1f626f941417acae6b3e51830 (patch) | |
tree | 25be40eb35434ea5b5fa4d0a3d64e1c65438bcbb /qt-mobile/qml/Preferences.qml | |
parent | 82d97093575d077f2c3703ad3d58124dcc127e27 (diff) | |
parent | 32219f127634b7783b3967d94e35faeff36b51ef (diff) | |
download | subsurface-bb1803986afed7d1f626f941417acae6b3e51830.tar.gz |
Merge branch 'mobilecomponents' of github.com:sebasje/subsurface
Diffstat (limited to 'qt-mobile/qml/Preferences.qml')
-rw-r--r-- | qt-mobile/qml/Preferences.qml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/qt-mobile/qml/Preferences.qml b/qt-mobile/qml/Preferences.qml index 59861009c..8cae95ff0 100644 --- a/qt-mobile/qml/Preferences.qml +++ b/qt-mobile/qml/Preferences.qml @@ -3,6 +3,7 @@ import QtQuick.Controls 1.2 import QtQuick.Window 2.2 import QtQuick.Dialogs 1.2 import QtQuick.Layouts 1.1 +import org.kde.plasma.mobilecomponents 0.2 as MobileComponents import org.subsurfacedivelog.mobile 1.0 Item { @@ -17,12 +18,12 @@ Item { GridLayout { columns: 2 anchors.fill: parent - anchors.margins: units.gridUnit + anchors.margins: MobileComponents.Units.gridUnit Label { text: "Cloud credentials" - Layout.bottomMargin: units.largeSpacing - font.pointSize: units.titlePointSize + Layout.bottomMargin: MobileComponents.Units.largeSpacing + font.pointSize: subsurfaceTheme.titlePointSize Layout.columnSpan: 2 } @@ -74,8 +75,8 @@ Item { Label { text: "Subsurface GPS data webservice" - Layout.bottomMargin: units.largeSpacing - font.pointSize: units.titlePointSize + Layout.bottomMargin: MobileComponents.Units.largeSpacing + font.pointSize: subsurfaceTheme.titlePointSize Layout.columnSpan: 2 } @@ -101,7 +102,7 @@ Item { Layout.fillWidth: true } - Item { width: units.gridUnit; height: width } + Item { width: MobileComponents.Units.gridUnit; height: width } Item { height: saveButton.height width: saveButton.width |