>> - I saw on https://issues.apache.org/jira/browse/PIVOT-276 that it was 
>> suggested that it had a fixed renderer size. What makes for a sensible 
>> default?
> 
> That means that it should assume a fixed renderer size - that is, it 
> shouldn't expect the preferred size of each item to be different. That's what 
> ListView does when the "variableItemHeight" style is set to false (the 
> default). 

FYI, this is for performance reasons. When calculating the preferred size, it 
can simply ask the renderer once for its preferred size and use that to perform 
the calculations, rather than iterating over each item, rendering it, and 
calculating the max. pref. size of each item.

G

Reply via email to