0 Replies Latest reply on Feb 24, 2010 3:59 PM by Carol L. Frampton

    [svn:fx-4.x] 14402: Alignment wasn?\226?\128? \153t always being done correctly when the text direction was rtl.

    Carol L. Frampton Level 2

      Revision: 14402

      Revision: 14402

      Author:   cframpto@adobe.com

      Date:     2010-02-24 15:59:18 -0800 (Wed, 24 Feb 2010)

      Log Message:

      ***********

      Alignment wasn?\226?\128?\153t always being done correctly when the text direction was rtl.

       

      Also added a check in UIComponents in invalidateLayoutDirection for a null pointer.  Loop assumes everything in container is IVisualElement which isn?\226?\128?\153t true if a UITextField or UIFTETextField is added ?\226?\128?\147 and in any case it is just safe programming.  The charting code currently does this although they will have to change it to support layoutDirection.

       

      QE notes: expect changes for textAlign=start or textAlign=end when direction=rtl

      Doc notes: None

      Bugs: SDK-25557

      Reviewed By: Hans

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-25557

       

      Modified Paths:

      **************

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UITextField.as

          flex/sdk/branches/4.x/frameworks/projects/spark/src/mx/core/FTETextField.as

          flex/sdk/branches/4.x/frameworks/projects/spark/src/mx/core/UIFTETextField.as