Fix keyboard positioning
This commit is contained in:
parent
e4a3967382
commit
7d36d988b9
2 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue