[flexcoders] Re: Styling List ItemRenderers

2008-01-22 Thread scott.royston
I have the same item renderer in multiple lists, and want them to look different. Is there no way to do it on a per-list basis? Also, I believe the type-selector gets overridden by the ListContentHolder, but I will double check. Thanks. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

Re: [flexcoders] Re: Styling List ItemRenderers

2008-01-22 Thread Tony Fendall
What I normally do, is extend the list component and add a bunch of public properties or styles to it. eg. public var titleColor:uint; Then in my item renderer class, I override the commitProperties function, and in there grab the properties and styles I need from the list. eg. var tmp:CustomList