RE: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-15 Thread Matt Horn
>> Incidently In FLEX can you use multiple CSS classes? much like >> you do in HTML? >>[div class="myFirstClass mySecondClass myThirdClass" id="blah"] In case noone did try this, using multiple class selectors in a styleName value is not possible with Flex 1.x. If it's something you'd like to see

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-15 Thread Scott Barnes
On Mon, 14 Mar 2005 15:56:01 -0800, Spike <[EMAIL PROTECTED]> wrote: > > c'mon now Scott, > > You could have tested that out almost faster than typing the question ;-) sif i have the forsight to do that, next you'll be asking me to test my theories out as well..bah! I am about to test it now, a

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Spike
c'mon now Scott, You could have tested that out almost faster than typing the question ;-) I'd test it myself, but I'm running out of free RAM on this machine and don't have Flex Builder running at the minute. Spike p.s. Only kidding about testing it yourself btw, I'm curious what the answer is

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Scott Barnes
On Mon, 14 Mar 2005 18:15:38 +0530, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On Mon, 14 Mar 2005 10:29:48 +1000, Scott Barnes <[EMAIL PROTECTED]> wrote: > > > ahh this is so frustrating.. why the hell isn't there a > > inheritance=false attribute! hehe > > It's based on the way CSS work

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Manish Jethani
On Mon, 14 Mar 2005 10:29:48 +1000, Scott Barnes <[EMAIL PROTECTED]> wrote: > ahh this is so frustrating.. why the hell isn't there a > inheritance=false attribute! hehe It's based on the way CSS works in HTML. Some properties (like font-size) are inheriting, some aren't. The way I would get

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Scott Barnes
> > > > > > > > > > > > > > > > > > > > SpecialPanel.mxml--- > > > > http://www.macromedia.com/2003/mxml"; > > headerColors="[0xCC66CC,0x3366CC]"> > > > > > &

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Scott Barnes
to the inner panels' children). > > THe following example illustrates this: > > > http://www.macromedia.com/2003/mxml";> > > > outerStyle { > headerColors:#CC66CC,#3366CC; > } > innerStyle { > headerColors:#E1E5EB, #F4F5F7; > } > > > > > > &g

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-13 Thread Scott Barnes
nels' children). > > THe following example illustrates this: > > > http://www.macromedia.com/2003/mxml";> > > > outerStyle { > headerColors:#CC66CC,#3366CC; > } > innerStyle { > headerColors:#E1E5EB, #F4F5F7; > } > > > > > > > >

RE: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-11 Thread Matt Horn
to:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 1:27 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] mx:Panel and disabling CSS Inheritance. I don't know of any way to prevent an inheriting style from being inherited except to write a custom component. However, you can use CSS t

RE: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-11 Thread Matt Horn
  HTH,   matt horn From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 12:19 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] mx:Panel and disabling CSS Inheritance. Hi All,I have an mx:Panel, with a simple headerColors=[col1,col2] approach,easy enough.BUT...How

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-11 Thread Manish Jethani
On Fri, 11 Mar 2005 15:18:37 +1000, Scott Barnes <[EMAIL PROTECTED]> wrote: > I have an mx:Panel, with a simple headerColors=[col1,col2] approach, > easy enough. > > BUT... > > How do i prevent its children Panels/Controls from also inheriting > that style? [snip] 'headerColors' is an inheritin