Wordwrapping text has no default height.  It can be any size until you
lock the width.  If you use Text as a renderer you have to add code to
the measure method to lock in a width so the height can be correctly
computed.  You can see how we do it for a TextField in
mx.controls.listClasses.ListItemRenderer.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Dominic Pazula
Sent: Thursday, January 31, 2008 9:56 AM
To: [email protected]
Subject: [flexcoders] Re: Custom Renderer problem in a List Control

 

Bumping this up the list. 

Can anyone provide some insight into this problem?

Thanks
Dominic

 

Reply via email to