RE: RES: [flexcoders] Using CSS with custom item renderers

2008-06-07 Thread Alex Harui
File an enhancement request and we'll see what we can do for Flex 4. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, June 06, 2008 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: RES: [flexcoders] Using CSS

RE: RES: [flexcoders] Using CSS with custom item renderers

2008-06-06 Thread Stephen Gilson
PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, June 03, 2008 12:43 PM To: flexcoders@yahoogroups.com Subject: Re: RES: [flexcoders] Using CSS with custom item renderers Simply put, the IDataRenderer interface. ItemRenderers are supposed to be encapsulated, if Adobe used anything other

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-06 Thread Amy
--- In flexcoders@yahoogroups.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

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Can you post the code for TestRenderer? Are you sure? It's very complicated ;-) ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50 mx:Label x=10 y=10

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
Hi, The reason this is not working with TypeSelectors is because the styleName property of the item renderer is getting set to the LisContentHolder instance (it's parent). Mike On Tue, Jun 3, 2008 at 9:49 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
The solution ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50 mx:Script ![CDATA[ override protected function commitProperties():void { super.commitProperties()

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: The solution ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50 mx:Script ![CDATA[ override protected function

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, The reason this is not working with TypeSelectors is because the styleName property of the item renderer is getting set to the LisContentHolder instance (it's parent). So what's the solution? I'd rather not

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
Simply put, the IDataRenderer interface. ItemRenderers are supposed to be encapsulated, if Adobe used anything other than the styleName of the renderer's parent, they would be breaking this encapsulation rule. You could try un setting the styleName in commit properties and then try your

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: The solution ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50

RES: [flexcoders] Using CSS with custom item renderers

2008-06-02 Thread Luciano Manerich Junior
Hi, you are setting the background Alpha to 0, how do you spec to see some bgcolor? De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Amy Enviada em: segunda-feira, 2 de junho de 2008 18:47 Para: flexcoders@yahoogroups.com Assunto:

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-02 Thread Amy
--- In flexcoders@yahoogroups.com, Luciano Manerich Junior [EMAIL PROTECTED] wrote: Hi, you are setting the background Alpha to 0, how do you spec to see some bgcolor? Same result with 1. That's just the most recent value I tried. Thanks; Amy

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-02 Thread Josh McDonald
Can you post the code for TestRenderer? On Tue, Jun 3, 2008 at 10:39 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Luciano Manerich Junior [EMAIL PROTECTED] wrote: Hi, you are setting the background Alpha to 0, how do you spec to

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-02 Thread Tim Hoff
Hi Amy, Probably easier if we could see the code for TestRenderer. Perhaps a child control or container is covering the red BG color completely. I'm sure if you share the snippet, someone will be able to help you locate the problem. -TH --- In flexcoders@yahoogroups.com, Amy [EMAIL