Skip to main content
Participant
April 25, 2008
Question

Panel contents overlap when using borderSkin style and layout=absolute

  • April 25, 2008
  • 2 replies
  • 439 views
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") ) {
This topic has been closed for replies.

2 replies

Participating Frequently
August 21, 2008
For anyone tracking this issue, Jason Szeto, engineer on the Flex framework uploaded a custom skin class and example of the workaround suggested in the original bug. Check it out here: https://bugs.adobe.com/jira/browse/SDK-14806
matt_chotin
Inspiring
April 25, 2008
Hi Andres,<br /><br />I haven't tried to verify your fix, but would you be willing to fill out a contributor agreement and submit an official patch?<br /><br />Matt<br /><br /><br />On 4/25/08 12:34 PM, "Andres Serral" <member@adobeforums.com> wrote:<br /><br />A new discussion was started by Andres Serral in<br /><br />Developers --<br /> Panel contents overlap when using borderSkin style and layout=absolute<br /><br />This problem has been reported on several occasions<br />(http://bugs.adobe.com/jira/browse/SDK-14806)<br />and there are several articles that talk about this:<br />http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/<br />http://dougmccune.com/blog/2008/01/12/calling-bullshit-on-a-resolved-flex-bug/<br /><br />I´m not an expert but think I found a fix/workaround for this.<br /><br />frameworks\projects\framework\src\mx\containers\Panel.as<br />Must to be changed in the viewMetrics() method.<br /><br />Line:<br />973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {<br /><br />Replace by:<br /> if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {<br /><br />________________________________<br />View/reply at Panel contents overlap when using borderSkin style and layout=absolute <a href=http://www.adobeforums.com/webx?13@@.59b51731><a href=http://www.adobeforums.com/webx?13@@.59b51731><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3><a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3> form to cancel your email subscription.