[flexcoders] Re: Preventing Item Renderers from Inheriting Styles from Parent List Component
--- 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! http://www.blogger.com/posts.g? blogID=8847948271397805362searchType=ALLtxtKeywords=label=CSS
[flexcoders] Re: Preventing Item Renderers from Inheriting Styles from Parent List Component
--- 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