summaryrefslogtreecommitdiffstats
path: root/qt-mobile/main.qml
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2015-07-30 10:17:22 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-30 10:13:25 -0700
commitfc746c212919ccf2835ced673b97d5dfb501e0f6 (patch)
treee8668685d9eda6194f0bb49cd32f1b67eae83523 /qt-mobile/main.qml
parenta09cfb8e98dea0fdc5133d08690262cd7e9260e9 (diff)
downloadsubsurface-fc746c212919ccf2835ced673b97d5dfb501e0f6.tar.gz
QML UI: move back button back to the left and center text
The top bars on the main page and dive details should be the same height and keep the same layout. [Dirk Hohndel: refactored Joakim's patch to work on top of what was already in master] Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r--qt-mobile/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml
index 63ff5b5b4..24ebb40ed 100644
--- a/qt-mobile/main.qml
+++ b/qt-mobile/main.qml
@@ -81,6 +81,8 @@ ApplicationWindow {
font.pointSize: 18
font.bold: true
color: "white"
+ anchors.horizontalCenter: parent.horizontalCenter
+ horizontalAlignment: Text.AlignHCenter
}
Button {
id: prefsButton