Based on my recent experience w/ this; I gave up trying to display HTML
Text in a list using the default itemRenderer ( ListItemRenderer if
memory serves me ).
In theory, setting ListItemRenderer.label.htmlText should work In
practice, it always reverted to 'normal' text when displayed in the
context of a list. I built my own itemRenderer using a label and that
addressed my issue.
I ran into this issue while building the Flextras
AutoCompleteComboBox. The ComboBox drop down is just a list, for those
that haven't cracked open the code. The AutoComplete will support
highlighting in the drop down, based on the filter text. All baked
right in. I'll be sending the next beta to beta testers in a few hours.
Brandon Krakowsky wrote:
I have a List component with both variableRowHeight and wordWrap set
to true. Is there anyway to leverage the labelField or labelFunction
to render html text? Is the only way to create a custom
itemRenderer? I tried it but find it very difficult to set the height
of a UITextField, added to a Canvas.
Thanks,
Brandon
--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust