You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Bérenger (JIRA)" <ji...@apache.org> on 2013/09/23 01:11:02 UTC

[jira] [Updated] (FLEX-33750) Callout' "middle" position problem with layoutDirection set to rtl

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

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

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

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

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