Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Run the attached code
2. Click on the rectangle
Actual Results:
Rectangle collapses to 1 pixel wide (only stroke is visible)
Expected Results:
Rectangle size changes to 107x100
The bug does not repro if I make either of these changes to the code:
- Reverse the order of the states so that we start in State2
- On the <Rect> tag, change width="106" to width.State2="106"
Workaround (if any):
Bullet #2 above: when specifying the size of childen in a "managed layout," only use state overrides to specify size. That seems to keep you safe from this...