From fc746c212919ccf2835ced673b97d5dfb501e0f6 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Thu, 30 Jul 2015 10:17:22 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-mobile/main.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-mobile/main.qml') 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 -- cgit v1.2.3-70-g09d2