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 works in HTML. Some properties (like
> font-size) are inheriting, some aren't.

Good point, but inheritance=false would be good no? hehe. I see your
point though and a valid one at that.

> The way I would get around this is by using another container inside
> the Panel that again has its own headerColors property:
> 
> <mx:Panel headerColors="...">
> <mx:VBox headerColors="back to normal">
> <mx:Accordion><!-- stuff --></mx:Accordion>
> </mx:VBox>
> </mx:Panel>

Yeah i've resigned myself to the fact that its the only way but all is
good. Incidently In FLEX can you use multiple CSS classes? much like
you do in HTML?

[div class="myFirstClass mySecondClass myThirdClass" id="blah"]


Thanks

-- 
Regards,
Scott Barnes
http://www.mossyblog.com


Reply via email to