GridView / ListView : wrong filling direction with Loader as delegate



  • When using GridView or ListView with a Loader as delegate, the filling direction is always from bottom/right to top/left.

    Loaders are ready one by one from the last to the first item in the ListModel.

    Do you know how to inverse this mechanism ? It's more logical and clean to have elements appearing from left to right.

    This is an example :

    GridView/ListView {
    
        model: ListModel {
            id: myList
        }
    
         delegate: Component {
    
            Loader {
                width: ...
                height: ...
                asynchronous: true
                visible: status == Loader.Ready
    
                sourceComponent: Component {
    
                    Item {
                        ....
                    }
                }
            }
    }
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.