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>
This commit is contained in:
Joakim Bygdell 2015-07-30 10:17:22 +02:00 committed by Dirk Hohndel
parent a09cfb8e98
commit fc746c2129
2 changed files with 10 additions and 7 deletions

View file

@ -81,6 +81,8 @@ ApplicationWindow {
font.pointSize: 18
font.bold: true
color: "white"
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
}
Button {
id: prefsButton