On the list tag, variableRowHeight="true";

-TH

--- In flexcoders@yahoogroups.com, "Tyler Kocheran" <[EMAIL PROTECTED]>
wrote:
>
> I'm trying to create a simple List-based application to try and learn
more
> about ItemRenderers. How do I make my ItemRenderer automatically size
to fit
> whatever is inside of it? Right now I've got this as my ItemRenderer:
> <mx:VBox>
> <mx:Text text="{data.label}" width="100%"/>
> </mx:VBox>
>
> I'm not necessarily going to know the amount of text loaded into a
list item
> until runtime. It seems that my list component is confining each of
its
> items to a certain fixed height. Can I change this?
>
> - TK
>
> --
> And do this, knowing the time, that now it is high time to awake out
of
> sleep;
> for now our salvation is nearer than when we first believed.
>



Reply via email to