Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Next
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Other (specify version)
Language Found: English
Description
Steps to reproduce:
1. Run the attached FXP in ADL
2. Go to ViewNavigator
3. Click on the paint button in the top left
4. Rotate orientation
Actual Results:
Callout appears after rotation.
Expected Results:
The example code resizes the Callout to fit the screen after CalloutButton fires an OPEN event. However, the Callout was already positioned based on the original size (which was too tall to fit the screen) then nudged upwards. The end result is a small callout completely above the top of the screen. Rotating the stage causes Callout to automatically reposition, but now with the updated size.
The main problem is that while it's possible to set the size of a Callout before calling open(), it's not possible to do the same with a CalloutButton's callout.
If we change SkinnablePopUpContainer's positionPopUp() to public, this allows users to re-position the Callout as they see fit.
Workaround (if any):
When resizing a callout in a CalloutButton, you must also reset position manually.
Or...just use a Callout and don't use CalloutButton. Then, set the size before calling callout.open().
Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31146
Original Reporter: jasonsj
Original Resolution: Fixed
Discoverability: High
Number of votes: 0
Regression: No
Reproducibility: Every Time
Resolved by: jasonsj
Severity: Enhancement/Task
reporter: jasonsj