flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Burrows <subscripti...@leeburrows.com>
Subject Re: Auto fit list item height to it's content
Date Thu, 06 Jun 2013 16:29:04 GMT
Off the top of my head, i think you'll need to set 
variableRowHeight="true" on the list and then override measure and 
layoutContents methods in your custom renderer as appropriate

On 06/06/2013 17:05, Sumudu Chinthaka wrote:
> hi guys
> i have being working on a flex mobile project and having some difficulties
> with my labelitemrenderer
> i have a list with a custom item renderer and inside the renderer i have a
> label that will populate with variable length data from the db. so i want
> to re size the row height of the list item to occupy those text
> please let me know the best way to accomplish this
> i have being looking around the web whole day could not find any reliable
> solution
> Beast Regards
> Sumudu

Lee Burrows

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message