This content has been marked as final. Show 6 replies
I am not aware of any intentional behavior change in that area. Can you post a simple example that illustrates the problem you are experiencing?
-- Greg Dow
-- Adobe Flex Builder Team
For example ...
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="320">
<mx:Panel width="250" height="200" layout="absolute" title="TEST" horizontalCenter="0" verticalCenter="0" borderStyle="solid">
<mx:VBox x="0" y="0" width="100%" height="100%">
This adds a Panel, puts a VBox and then a TextInput in it, If the Panel's borderStyle is set to 'solid' (or any other different borderStyle) the TextInput appears in the area where the Panel's title is (and messes it up).
Yeah i have the exact same problem.. Panels with borderstyle = solid bug, and the components in the panel run over the Title and Controlbar area's.
I had already filled a bug for that for beta one, I'm surprised it went unnoticed.
all heavily skinned flex2 application (using solid border style) are totally messed up when compiled with flex3 betas
Do you happen to know the bug number of the bug you filed?
There have been several other bugs reported on this, but you can check out this bug for more details; http://bugs.adobe.com/jira/browse/SDK-11279
If you check out some of the comments by the engineers, you can see this:
Release Note: Panel only officially supports the "default" borderStyle. If you use an unsupported borderStyle, use padding values or absolute positioning to place your content in the correct place.
For another possible workaround, check out http://bugs.adobe.com/jira/browse/SDK-12872#action_158993
For Panel, only borderStyle="default" is supported. All other borderStyles are not supported. However, as you can see, you can still use borderStyle="solid" but you have to include the height of the header in the paddingTop value.
Hope that helps,