[ 
https://issues.apache.org/jira/browse/FLEX-12310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-12310.
----------------------------------

    Resolution: Duplicate
    
> Menu origin is hardcoded to top left
> ------------------------------------
>
>                 Key: FLEX-12310
>                 URL: https://issues.apache.org/jira/browse/FLEX-12310
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: Menu
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>
> The Menu component is hardcoded to have its origin at the top left corner. 
> This leads to two issues:
> 1) In order to use a Menu with its origin at the top right corner, its width 
> needs to be known in order to position the top left corner. In order to know 
> the width, the menu must be displayed. The workaround for this is to 
> "display" the menu far off the visible screen, determine its width, hide it, 
> and then display it in the desired location. Very clumsy - there should be a 
> built-in way of achieving this.
> 2) The 'show' function embeds within it a tween that runs from top left to 
> bottom right. This is appropriate only when the menu is rendered with the 
> origin at the top left corner. When attempting to use an origin at the top 
> right, this tween  just looks wrong. There is no workaround for this, since 
> the code for the tween is buried in the midst of the 'show' function.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to