diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-06 21:52:30 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-06 14:04:47 -0800 |
commit | 9dc8f13a0ab2f2c0f2804b2dcaf602c2964fdddb (patch) | |
tree | d50bb4680f7874fded34fdd8d3f5a2fc1c424d70 /qt-mobile/TopBar.qml | |
parent | 74586d792230447384967fe1765e2ed562281e8a (diff) | |
download | subsurface-9dc8f13a0ab2f2c0f2804b2dcaf602c2964fdddb.tar.gz |
Replace units.spacing with units.smallSpacing
In line with the new Units API.
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/TopBar.qml')
-rw-r--r-- | qt-mobile/TopBar.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-mobile/TopBar.qml b/qt-mobile/TopBar.qml index da000c469..552159d53 100644 --- a/qt-mobile/TopBar.qml +++ b/qt-mobile/TopBar.qml @@ -12,14 +12,14 @@ Rectangle { color: theme.accentColor Layout.fillWidth: true Layout.margins: 0 - Layout.minimumHeight: prefsButton.height + units.spacing * 2 + Layout.minimumHeight: prefsButton.height + units.smallSpacing * 2 RowLayout { anchors.bottom: topBar.bottom - anchors.bottomMargin: units.spacing + anchors.bottomMargin: units.smallSpacing anchors.left: topBar.left - anchors.leftMargin: units.spacing + anchors.leftMargin: units.smallSpacing anchors.right: topBar.right - anchors.rightMargin: units.spacing + anchors.rightMargin: units.smallSpacing Button { id: backButton Layout.maximumHeight: prefsButton.height @@ -60,7 +60,7 @@ Rectangle { font.pointSize: 18 color: theme.accentTextColor anchors.left: backButton.right - anchors.leftMargin: units.spacing + anchors.leftMargin: units.smallSpacing //horizontalAlignment: Text.AlignHCenter } } |