Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.Run the attached project in ADL
2.Press the button to advance to the next view
3.Rotate the stage
4.Press the button to return to the previous view
Actual Results:
The previous view doesn't properly size itself to fit the new stage width and height. This is because the first view had destructionPolicy set to "never", and the SlideViewTransition didn't properly restore its includeInLayout flag.
Expected Results:
The previous view should properly size itself to the stage. The button will span the width and height of the view.
Workaround (if any):
Listen for an "add" event on the initial view and set includeInLayout to true.
Don't use destructionPolicy.