on xenial help sign in
some final page tweakings
commitc7906b210f441f4bb13b23eb489db8015b2f399d authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 8 Sep 2015, 23:30 (11 years ago) parent5584608
2 files changed+15−5
qml/Wizard/Page.qml+3−1 qml/Wizard/Pages/80-finished.qml+12−4
qml/Wizard/Page.qml+3−1
@@ -111,7 +111,7 @@ Item {
111111 }
112112 }
113113
114− // title
114+ // page header
115115 Image {
116116 id: titleRect
117117 visible: !lastPage
@@ -124,6 +124,7 @@ Item {
124124 height: customTitle ? customMargin + titleLabel.height + customMargin : units.gu(16)
125125 clip: true
126126
127+ // page title
127128 Label {
128129 id: titleLabel
129130 anchors {
@@ -140,6 +141,7 @@ Item {
140141 fontSize: "x-large"
141142 }
142143
144+ // indicators
143145 Row {
144146 id: indicatorRow
145147 visible: !customTitle
qml/Wizard/Pages/80-finished.qml+12−4
@@ -41,16 +41,20 @@ LocalComponents.Page {
4141 spacing: units.gu(3)
4242
4343 Label {
44− anchors.horizontalCenter: parent.horizontalCenter
45− wrapMode: Text.WordWrap
44+ anchors.left: parent.left
45+ anchors.right: parent.right
46+ horizontalAlignment: Text.AlignHCenter
47+ wrapMode: Text.Wrap
4648 fontSize: "x-large"
4749 font.weight: Font.Light
4850 text: i18n.tr("Welcome to Ubuntu")
4951 }
5052
5153 Label {
52− anchors.horizontalCenter: parent.horizontalCenter
53− wrapMode: Text.WordWrap
54+ anchors.left: parent.left
55+ anchors.right: parent.right
56+ horizontalAlignment: Text.AlignHCenter
57+ wrapMode: Text.Wrap
5458 fontSize: "large"
5559 font.weight: Font.Light
5660 text: i18n.tr("You are ready to use your device now")
@@ -59,6 +63,10 @@ LocalComponents.Page {
5963 Button {
6064 anchors.horizontalCenter: parent.horizontalCenter
6165 text: i18n.tr("Get Started")
66+ color: "transparent"
67+ strokeColor: "white"
68+ font.weight: Font.DemiBold
69+ width: Math.max(implicitWidth, parent.width/2) // make the button slightly wider than usual
6270 onClicked: {
6371 root.quitWizard();
6472 }