File an enhancement request and we'll see what we can do for Flex 4.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, June 06, 2008 9:21 PM To: [email protected] Subject: Re: RES: [flexcoders] Using CSS with custom item renderers --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Stephen Gilson" <[EMAIL PROTECTED]> wrote: > > One more note on this one: > > Renderers have their TypeSelectors blocked for the styles: > > backgroundColor > borderStyle > > borderStyle is blocked because DataGrid/List has a borderStyle and if > you put a container in as your renderer, it would pick up that > borderStyle by default. > > Similarly, backgroundColor is blocked, but also for another reason. We > want the renderers to not have a background so the selection/highlight > colors can be drawn behind them and show through. > > We can add this to the doc. Thanks :-). It's certainly helpful to have as much information as possible. In my case, I wanted to hide the highlight colors except around the edges (past the border of the itemRenderers). Would it make any sense to provide an override to allow people to set a property that lets the component use its CSS style? The fix I found is fairly easy, but a property would be even easier ;-). -Amy

