History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-12872
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: B B
Assignee: Peter deHaan
Reporter: Matt MacLean
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Layout error with panel borderStyle set to solid

Created: 10/02/07 11:00 AM   Updated: 10/15/07 01:34 PM
Component/s: Styles
Security Level: Public (All JIRA Users )

File Attachments: 1. Text File main.mxml (0.6 kb)
2. File main.swf (237 kb)

Issue Links:
Duplicate
This issue duplicates:
SDK-12215 Panel with borderStyle="solid" doesn'... None Closed
This issue is duplicated by:
SDK-13012 Panel contents drawing on top of pane... None Closed

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Moxie M3 (Beta 2)
Milestone:
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:
1. Create a panel with borderStyle set to solid.
2. Place a control on the panel with a "top" constraint of 10
3. Run the flex app.
 
 Actual Results:

The control placed on the panel with a top constraint of 10 is positioned "on top" of the panel header rather then "10" pixels below the header.
 
 
 Expected Results:

The control should be placed 10 pixels below the header
 
 
 Workaround (if any):
 
 Place your controls below the header in design mode.
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: Yes
QA Owner: Peter deHaan
Resolved by: Jason Szeto
Participants: Jason Szeto, Matt MacLean, Peter deHaan and Steve Breinberg


 All   Comments      Sort Order:
Matt MacLean - [10/03/07 11:13 AM ]
Figured out a fix:

In mx.skins.halo.PanelSkin.as change the following lines.

57: if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0 || (getStyle("borderStyle") != "default" && getStyle("borderStyle") != "solid"))

200: if (getStyle("headerColors") == null && getStyle("borderStyle") == "default" || getStyle("borderStyle") == "solid")

220: if (getStyle("borderStyle") == "default" || getStyle("borderStyle") == "solid")

Peter deHaan - [10/08/07 08:17 PM ]
Able to repro in mainline build 184180.
Injection, this worked in Flex 2 (Hotfix 2 and 3).

Steve Breinberg - [10/11/07 02:30 AM ]
Open to Jason.

Jason Szeto - [10/11/07 06:31 PM ]
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.