Perfect! Why wouldn't adobe make this very easy? Seems like a common enough need...
–
at.Dec 16 '10 at 3:01

1

In the old Panel (mx:Panel), it WAS easy... headerHeight. Apparently, in the Spark implementation, they decided that you have a ton of control in skinning, and that keeping headerHeight would seem arbitrary... skinning is the way to go. That being said, I hate writing an entirely new skin just to change a single property, which is why I like this subclassing approach. Glad you like it :)
–
Brian GenisioDec 16 '10 at 3:16

Why is the constructor of HeadlerlessPanelSkin() being overridden?
–
Brian BishopDec 16 '10 at 9:44

@Brian Bishop: Honestly, I don't know. I am surprised it even compiles, actually. Non-constructor functions can't do that... I wonder if it means anything...? I grabbed the code from a different skin I had, which had that in it... I hand't noticed it. fixed
–
Brian GenisioDec 16 '10 at 11:02