The measuring renderer is invisible, but on the display list and is held
onto in case of the need for future measuring.

 

itemsNeedMeasurement is protected so you can't access it from the
outside.  You might be able to trick it to being set to true by setting
a style like fontSize

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Thursday, April 24, 2008 11:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tiny components when using callLater()

 

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> It would be be considerable work to get the measuring renderer to be 
the
> first renderer, because the first renderer changes as you scroll.

Interesting. Where does that measuring renderer go, then?

> I don't think it should be destroyed, I think you may be seeing two
> renderers (the measuring, and the first visible) that use the same 
data
> object. Like I said, if the number of items is the same in every
> renderer, I would not use repeater since you don't really want to tear
> down and recreate the repeater items.
> 
> 
> 
> Set itemsNeedMeasuremet on the HList.

I haven't subclassed HorizontalList. Can I do that from within my HBox 
itemRenderer? Or can I do that from the Application container?

Thanks;

Amy

 

Reply via email to