on xenial help sign in
review fixes
ae1f4f5Lukáš Tinkl
qml/Wizard/Pages/30-wifi.qml+4−6
@@ -133,7 +133,10 @@ LocalComponents.Page {
133 }
133 }
134 }
134 }
135
135
136+ onClicked: {
136− onClicked: unityMenuModel.activate(menuIndex);
137+ unityMenuModel.activate(menuIndex);
138+ listview.positionViewAtBeginning();
139+ }
137
140
138 Component.onCompleted: {
141 Component.onCompleted: {
139 loadAttributes();
142 loadAttributes();
@@ -144,11 +147,6 @@ LocalComponents.Page {
144 onMenuIndexChanged: {
147 onMenuIndexChanged: {
145 loadAttributes();
148 loadAttributes();
146 }
149 }
147− onIsConnectedChanged: {
148− if (isConnected) {
149− listview.positionViewAtIndex(0, ListView.Beginning);
150− }
151− }
152 }
150 }
153 }
151 }
154
152
qml/Wizard/Pages/60-account.qml+13−5
@@ -46,12 +46,13 @@ LocalComponents.Page {
46 id: column
46 id: column
47 clip: true
47 clip: true
48 flickableDirection: Flickable.VerticalFlick
48 flickableDirection: Flickable.VerticalFlick
49+ anchors {
49− anchors.fill: content
50+ fill: content
50− anchors.leftMargin: parent.leftMargin
51+ leftMargin: parent.leftMargin
51− anchors.rightMargin: parent.rightMargin
52+ rightMargin: parent.rightMargin
52− anchors.topMargin: customMargin
53+ topMargin: customMargin
54+ }
53
55
54− height: contentHeight - buttonBarHeight - Qt.inputMethod.keyboardRectangle.height - titleRectHeight
55 contentHeight: contentItem.childrenRect.height
56 contentHeight: contentItem.childrenRect.height
56
57
57 Behavior on contentY { UbuntuNumberAnimation{} }
58 Behavior on contentY { UbuntuNumberAnimation{} }
@@ -111,6 +112,13 @@ LocalComponents.Page {
111 }
112 }
112 }
113 }
113
114
115+ Binding {
116+ target: surnameInput
117+ property: "anchors.bottomMargin"
118+ value: Qt.inputMethod.keyboardRectangle.height
119+ when: Qt.inputMethod.visible && !Qt.inputMethod.animating
120+ }
121+
114 Component {
122 Component {
115 id: forwardButton
123 id: forwardButton
116 LocalComponents.StackButton {
124 LocalComponents.StackButton {