I'm putting this out on the list so others can refer to it... Ah, I see, as the model loads stuff async, it adjusts content height continuously. I could very well use count, but I don't know the number of pixels per item.
I really think the solution is some how to have the model inform the view it is ready and to start the animation. How can I do that? ----- Original Message ---- From: "[email protected]" <[email protected]> To: [email protected] Sent: Mon, July 12, 2010 7:53:47 PM Subject: Re: [Qt-qml] QML Questions On 12/07/2010, at 11:11 PM, ext Jason H wrote: > I integrated your changes and it works... sort-of... There is a horrible >flicker > > that now happens. the list jumps up and down by 20-50 pixels occasionally. > > This is because the duration binds to contentHeight: > > > duration: lv.contentHeight*10 Whenever the contentHeight changes, the duration is reset. I suggest binding to something that doesn't change so much, like ListView::count. _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
