Change icon size, reset positioner

This commit is contained in:
cutefishd 2021-05-10 10:22:33 +08:00
parent 4f57fa63b8
commit 0ff861b977

View file

@ -46,6 +46,11 @@ GridView {
signal keyPress(var event) signal keyPress(var event)
onIconSizeChanged: {
//
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) {