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] [Commented] (FLEX-33750) Callout' "middle" position problem with layoutDirection set to rtl
Date Sun, 22 Sep 2013 23:35:02 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774120#comment-13774120
] 

Bérenger commented on FLEX-33750:
---------------------------------

Maybe the incriminate code where in /experimental/src/spark/components/CallOut.as line 1123~1129.

// Compute the stage coordinates of the upper,left corner of the PopUp, taking
// the postTransformOffsets - which include mirroring - into account.
// If we're mirroring, then the implicit assumption that x=left will fail,
// so we compensate here.
if (layoutDirection == LayoutDirection.RTL)
	regPoint.x += calloutBounds.width;
                
> 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, Callout Test.fxp
>
>
> 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 positioned.
> 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 which calls the Callout

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