Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[solved] Sync contentX / contentY among Flickable in ListView



  • It turns out that there is a bug in my code that reset the parameters during mouse scroll.

    After fixing it, it works fine.


    Hi,

    In my app, I have a ListView containing a list of Flickable. And what I want to achieve is to synchronize the contentX and contentY among all these Flickable ( for the purpose of easier image comparison).

    The intuitive solution is to bind the contentX/contentY to some global property. However, it seems like that only the contentX/contentY of Flickable that are currently on the screen are synchronized. When I scroll down the ListView, the contentX/contentY of newly appeared Flickable are still with their own original values.

    Is there other workaround to solve such problem?


Log in to reply