Date: 2009-09-11 17:10:25 -0700 (Fri, 11 Sep 2009)
Panel cornerRadius bug fixes
http://bugs.adobe.com/jira/browse/SDK-23018 - Setting larger cornerRadius values for Panel causes some strange rendering
http://bugs.adobe.com/jira/browse/SDK-23015 - Setting cornerRadius for Panel with controlBar does not get applied well
The issue occurs when the cornerRadius is bigger than half the height of the titleBar or controlBar. Rect won't extend the corner beyond halfway down a side. (If it did, you'd get some strange artifacts if both corners of a side are rounded.)
The solution is to use a mask which is the size of the background fill. Masks are applied to the top and bottom chrome. I removed the cornerRadius properties from all of the skin parts inside the content layer since the mask will now take care of the rounded corners. Using the mask also solves the problem of the titleBar divider bleeding out the sides with a big cornerRadius.
I have also updated the Spark mx Panel skin.
QE notes: Add cornerRadius tests
Doc notes: No
Bugs: SDK-23015, SDK-23018
Tests run: gumbo/components/Panel, containers
Is noteworthy for integration: No