nickMiddleweek.blog.search();

Thursday 13 May 2010

mind the gap!

this one stumped me for a bit and I was looking in the wrong place for the answer but with Flex mx.containers.panels you have the Panel itself and the Panel header. Now when you're styling up and things are getting very pixel perfect you need to know your flanels from your panels and to alter the distance between the header and the panel contents you need to specify the top css style of the panel and not the bottom css style of the panel header...

So you do this:
.myPanel { border-thickness-top:0; }

and not this:

.myPanel { title-style-name: "myPanelHeader"; }
.myPanelHeader { border-thickness-bottom:0; }

what a painel !

No comments:

Post a Comment

The internet is a crazy place so please help us keep it under control by leaving only relevant messages and comments, thanks a bunch! :m)