on xenial help sign in
UI review round
5e3b346Lukáš Tinkl
qml/Wizard/Page.qml+2−3
@@ -121,15 +121,14 @@ Item {
121 right: parent.right
121 right: parent.right
122 }
122 }
123 source: customTitle ? "" : "Pages/data/Phone header bkg.png"
123 source: customTitle ? "" : "Pages/data/Phone header bkg.png"
124− height: units.gu(16)
124+ height: customTitle ? units.gu(10) : units.gu(16)
125 clip: true
125 clip: true
126
126
127 // page title
127 // page title
128 Label {
128 Label {
129 id: titleLabel
129 id: titleLabel
130 property real animatedMargin: 0
130 property real animatedMargin: 0
131− property real animatedTopMargin: customTitle ? customMargin :
131+ property real animatedTopMargin: 0
132− titleRect.height - customMargin - titleLabel.height
133 anchors {
132 anchors {
134 left: parent.left
133 left: parent.left
135 right: parent.right
134 right: parent.right
qml/Wizard/Pages/50-timezone.qml+2−1
@@ -43,7 +43,8 @@ LocalComponents.Page {
43 }
43 }
44 }
44 }
45
45
46− theme.palette.normal.backgroundText = textColor
46+ theme.palette.normal.backgroundText = textColor;
47+ searchField.forceActiveFocus();
47 }
48 }
48
49
49 Component {
50 Component {
qml/Wizard/Pages/60-uaccount-signup.qml+3−1
@@ -135,7 +135,7 @@ LocalComponents.Page {
135 anchors.top: pass2Label.bottom
135 anchors.top: pass2Label.bottom
136 anchors.topMargin: units.gu(1)
136 anchors.topMargin: units.gu(1)
137 echoMode: TextInput.Password
137 echoMode: TextInput.Password
138− KeyNavigation.tab: emailInput
138+ KeyNavigation.tab: cancelButton
139 }
139 }
140
140
141 // buttons
141 // buttons
@@ -150,6 +150,7 @@ LocalComponents.Page {
150 }
150 }
151 text: i18n.tr("Cancel")
151 text: i18n.tr("Cancel")
152 onClicked: pageStack.prev()
152 onClicked: pageStack.prev()
153+ KeyNavigation.tab: okButton
153 }
154 }
154
155
155 Button {
156 Button {
@@ -170,6 +171,7 @@ LocalComponents.Page {
170 AccountsService.email = emailInput.text;
171 AccountsService.email = emailInput.text;
171 pageStack.next() // TODO sign up against U1 in Phase 2
172 pageStack.next() // TODO sign up against U1 in Phase 2
172 }
173 }
174+ KeyNavigation.tab: emailInput
173 }
175 }
174 }
176 }
175}
177}