The TileList control displays a number of items laid out in tiles. It displays a scroll bar on one of its axes to access all items in the list, depending on the direction property. You can set the size of the tiles by using rowHeight and columnWidth properties. Alternatively, Flex measures the item renderer for the first item in the dataProvider and uses that size for all tiles.
The <mx:TileList> tag inherits all of the tag attributes of its superclass, *but ignores the variableRowHeight* and wordWrap tag attributes. It adds no additional tag attributes. Hope this helps..... --Allan On Nov 28, 2007 10:52 AM, jandersen1978 <[EMAIL PROTECTED]> wrote: > > > > > > 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. > > > > > > > > > >
