Fix keyboard positioning

pull/26/head
reionwong 4 years ago
parent e4a3967382
commit 7d36d988b9

@ -75,6 +75,8 @@ Window {
} }
RowLayout { RowLayout {
spacing: FishUI.Units.largeSpacing
Button { Button {
text: qsTr("Cancel") text: qsTr("Cancel")
Layout.fillWidth: true Layout.fillWidth: true

@ -70,6 +70,10 @@ GridView {
positioner.reset() positioner.reset()
} }
onCountChanged: {
positioner.reset()
}
function effectiveNavDirection(flow, layoutDirection, direction) { function effectiveNavDirection(flow, layoutDirection, direction) {
if (direction === Qt.LeftArrow) { if (direction === Qt.LeftArrow) {
if (flow === GridView.FlowLeftToRight) { if (flow === GridView.FlowLeftToRight) {

Loading…
Cancel
Save