@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2013,2014 Canonical, Ltd.
2+ * Copyright (C) 2013-2015 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -14,44 +14,47 @@
1414 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1515 */
1616
17−import QtQuick 2.0
18−import Ubuntu.Components 0.1
17+import QtQuick 2.3
18+import Ubuntu.Components 1.2
1919import ".." as LocalComponents
2020
2121LocalComponents.Page {
22− objectName: "finishedPage"
22+ objectName: "finishedPage" // careful when renaming the page, see Page.qml
2323
24− title: i18n.tr("All done")
25− forwardButtonSourceComponent: forwardButton
2624 hasBackButton: false
25+ customTitle: true
2726
2827 Column {
2928 id: column
30− anchors.fill: content
31− spacing: units.gu(1)
29+ anchors.left: parent.left
30+ anchors.right: parent.right
31+ anchors.verticalCenter: parent.verticalCenter
32+ spacing: units.gu(3)
3233
3334 Label {
34− anchors.left: parent.left
35− anchors.right: parent.right
35+ anchors.horizontalCenter: parent.horizontalCenter
3636 wrapMode: Text.Wrap
37− fontSize: "large"
38− font.bold: true
39− text: i18n.tr("Nice work!")
37+ fontSize: "x-large"
38+ font.weight: Font.Light
39+ color: "black"
40+ text: i18n.tr("Welcome to Ubuntu")
4041 }
4142
4243 Label {
43− anchors.left: parent.left
44− anchors.right: parent.right
44+ anchors.horizontalCenter: parent.horizontalCenter
4545 wrapMode: Text.Wrap
46− text: i18n.tr("Your phone is now ready to use.")
46+ fontSize: "large"
47+ font.weight: Font.Light
48+ color: "black"
49+ text: i18n.tr("You are ready to use your device now")
4750 }
48− }
4951
50− Component {
51− id: forwardButton
52− LocalComponents.StackButton {
53− text: i18n.tr("Finish")
54− onClicked: root.quitWizard()
52+ Button {
53+ anchors.horizontalCenter: parent.horizontalCenter
54+ text: i18n.tr("Get Started")
55+ onClicked: {
56+ quit()
57+ }
5558 }
5659 }
5760}