flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bérenger (JIRA) <j...@apache.org>
Subject [jira] [Updated] (FLEX-33750) Callout' "middle" position problem with layoutDirection set to rtl
Date Sun, 22 Sep 2013 23:13:02 GMT

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

Bérenger updated FLEX-33750:
----------------------------

    Attachment: Callout problem 2.png

Sample
                
> Callout' "middle" position problem with layoutDirection set to rtl
> ------------------------------------------------------------------
>
>                 Key: FLEX-33750
>                 URL: https://issues.apache.org/jira/browse/FLEX-33750
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: CalloutButton, Spark: Layout
>    Affects Versions: Apache Flex 4.10.0
>         Environment: Windows - Firefox - Flash Player 11.8
>            Reporter: Bérenger
>            Priority: Minor
>         Attachments: Callout problem 2.png
>
>
> When an component (i.e. Button) is in a layout where the layoutDirection is right-to-left
and when this component calls a CallOut with the positions set to "middle", this CallOut is
not well positionned.
> Step to reproduce:
> 1/ define a Callout with horizontalPosition="middle" and verticalPosition="middle"
> 2/ define a HGroup with layoutDirection="rtf"
> 3/ inside, define a Spacer to highlight the problem
> 4/ following, define a Button with call the Callout
> Code sample:
> 	<fx:Declarations>
> 		<ns:CallOut id="rtlCallout" rollOut="rtlCallout.close()" verticalPosition="middle"
horizontalPosition="middle">
> 			<s:Label text="rtl"/>
> 		</ns:CallOut>
> 	</fx:Declarations>
> 	<s:HGroup layoutDirection="rtl">
> 		<s:Spacer width="75"/>
> 		<s:Button id="rtlButton" rollOver="rtlCallout.open(rtlButton)"/>
> 		<s:Spacer width="15"/>
> 	</s:HGroup>

--
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

Mime
View raw message