diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-29 17:27:20 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2015-11-29 17:27:20 +0100 |
commit | 2668da3f60d0dc28d1777c1d6cf67e1ee8f88447 (patch) | |
tree | c0a53e398f7100f39a12bd10e2a64202ea76695f /qt-mobile/qml/CloudStorage.qml | |
parent | 4d94441b6db8040b4c0dc6c302d3389a1bafffee (diff) | |
download | subsurface-2668da3f60d0dc28d1777c1d6cf67e1ee8f88447.tar.gz |
use mobilecomponents for our pages
This is a dumb port of a number of properties to use the new theme and
units API.
- import the plugin
- change accessors from units and theme to MobileComponents.Unit and
MobileComponents.Theme
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/CloudStorage.qml')
-rw-r--r-- | qt-mobile/qml/CloudStorage.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-mobile/qml/CloudStorage.qml b/qt-mobile/qml/CloudStorage.qml index b199be739..3b94aa5e6 100644 --- a/qt-mobile/qml/CloudStorage.qml +++ b/qt-mobile/qml/CloudStorage.qml @@ -17,12 +17,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: MobileComponents.Units.titlePointSize Layout.columnSpan: 2 } @@ -72,7 +72,7 @@ Item { id: savePassword } - Item { width: units.gridUnit; height: width } + Item { width: MobileComponents.Units.gridUnit; height: width } Item { height: saveButton.height width: saveButton.width |