You have variableRowHeight set to true on the TileList right? You 
may want to subclass VBox to create your own renderer and then 
override the measure function to set the height of the component 
based on the textHeight of the textComponent...  but hopefully 
someone can post a simpler approach.

I got some help on a perhaps more complex but similar problem on 
this thread: 
http://tech.groups.yahoo.com/group/flexcomponents/message/3001

--- In [email protected], "lytvynyuk" <[EMAIL PROTECTED]> 
wrote:
>
> How would imagine it will work? Do you want to have a row resized 
to
> fit largest item? 
> BTW. Setting VBox height doest help, coz It will be limited by
> rowHeight of TileList component.
> 
> --- In [email protected], "souravwelcomesyou"
> <souravwelcomesyou@> wrote:
> >
> > I want to use a TileList having an itemRenderer of Dynamic 
height.
> > 
> > The itemRenderer is a vBox containing a text component. The text 
> > component gets data from xml using HttpService.
> > 
> > I am getting the textHeight of the text component which is 
varying 
> > according to the data from xml, 
> > 
> >        BUT cannot set the value as the rowHeight of the TileList.
> > Neither can I set the value as the height of vBox..
> >  
> > 
> > Please Help.
> >
>


Reply via email to