Question
Panel contents overlap when using borderSkin style and layout=absolute
This problem has been reported on several occasions
(http://bugs.adobe.com/jira/browse/SDK-14806)
and there are several articles that talk about this:
http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/
http://dougmccune.com/blog/2008/01/12/calling-bullshit-on-a-resolved-flex-bug/
I´m not an expert but think I found a fix/workaround for this.
frameworks\projects\framework\src\mx\containers\Panel.as
Must to be changed in the viewMetrics() method.
Line:
973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {
Replace by:
if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {
(http://bugs.adobe.com/jira/browse/SDK-14806)
and there are several articles that talk about this:
http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/
http://dougmccune.com/blog/2008/01/12/calling-bullshit-on-a-resolved-flex-bug/
I´m not an expert but think I found a fix/workaround for this.
frameworks\projects\framework\src\mx\containers\Panel.as
Must to be changed in the viewMetrics() method.
Line:
973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {
Replace by:
if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {
