--- In flexcoders@yahoogroups.com, "Thomas, Erik" <erik_tho...@...> 
wrote:
>
> Hi all:
>  
> I have a custom component derived from VBox with a specific styleName.
> When used in a Repeater, or stand-alone, the styles are perfect.
>  
> However, when I use the custom component in a List by setting the
> itemRenderer property of the List component, the fonts are all wrong 
and
> the text in Button labels are getting truncated.
>  
> During debugging, I found the Flex 3 List component causes item
> renderers to inherit styles! It actually sets the styleName to the
> instance variable of the List component!
>

oops, wrong link.

Try

http://flexdiary.blogspot.com/2008/06/using-css-typeselector-with.html

Reply via email to