0 Replies Latest reply on Mar 8, 2010 8:11 AM by Carol L. Frampton

    [svn:fx-4.x] 14623: SDK-25638 ?\226?\128? \147 The bug reported that the sortArrows were in slightly different places with text direction ltr vs .

    Carol L. Frampton Level 2

      Revision: 14623

      Revision: 14623

      Author:   cframpto@adobe.com

      Date:     2010-03-08 08:10:55 -0800 (Mon, 08 Mar 2010)

      Log Message:

      ***********

      SDK-25638 ?\226?\128?\147 The bug reported that the sortArrows were in slightly different places with text direction ltr vs. rtl.

       

      The real issue was that in FTETextField when we placed the textLines, the leftMargin and the rightMargin should have been reversed if direction=rtl.  If using TLF, it takes care of this for us, but this code creates the textLines itself.

      The leftMargin is 5 and the rightMargin is 0, hence the slightly different placements between the headers when direction is ltr vs rtl.

       

      LayoutDirection.as ?\226?\128?\147 fixed import path to Version.as

      UIComponent.as ?\226?\128?\147 changed code to use LayoutDirection.as constants to make sure LayoutDirection is pulled in to the swc.  I will eventually convert all the code to use this.

       

      QE notes:

      Doc notes: None

      Bugs: SDK-25638

      Reviewed By: Kevin

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

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

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

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