Re: [Qt-qml] Performance issue with Repeater

2010-09-19 Thread Sohail Somani
Oh duh, thanks :) On 10-09-19 6:30 PM, Juha Turunen wrote: > The ListView element inherits from Flickable so you can use all the > same properties as with Flickable (boundsBehavior in this case). > > Juha > > On Mon, Sep 20, 2010 at 12:57 AM, Sohail Somani wrote: >> That works nicely, thanks! >>

Re: [Qt-qml] Performance issue with Repeater

2010-09-19 Thread Juha Turunen
The ListView element inherits from Flickable so you can use all the same properties as with Flickable (boundsBehavior in this case). Juha On Mon, Sep 20, 2010 at 12:57 AM, Sohail Somani wrote: > That works nicely, thanks! > > Is there a way to prevent the view from going beyond the bounds like t

Re: [Qt-qml] Performance issue with Repeater

2010-09-19 Thread Sohail Somani
That works nicely, thanks! Is there a way to prevent the view from going beyond the bounds like the Flickable type? On 10-09-19 5:37 PM, Juha Turunen wrote: > How about using a ListView instead of Flickable? This way everything > doesn't have to be instantiated at once, but instead ListView smar

Re: [Qt-qml] Performance issue with Repeater

2010-09-19 Thread Juha Turunen
How about using a ListView instead of Flickable? This way everything doesn't have to be instantiated at once, but instead ListView smartly creates (and disposes) instances of the delegate component as the user scrolls the view. Juha On Mon, Sep 20, 2010 at 12:19 AM, Sohail Somani wrote: > Hi, >

[Qt-qml] Performance issue with Repeater

2010-09-19 Thread Sohail Somani
Hi, I have a need to create a bunch of rectangles with different heights in a single column. Essentially it's like a scrollable bar chart but with a large number of entries. The self-contained code I'm using to create this bar chart is attached. The problem seems to be that when I get to a