0 Replies Latest reply on Jun 4, 2009 11:20 PM by GordonSmith

    [svn:fx-trunk] 7573: More changes to text styles.

    GordonSmith Level 4

      Revision: 7573

      Author:   gosmith@adobe.com

      Date:     2009-06-04 23:20:06 -0700 (Thu, 04 Jun 2009)

       

      Log Message:

      ***********

      More changes to text styles.

       

      The global selector for Flex 4 now sets the default value for 'kerning' to "off" instead of false. The legal values in Halo components are true and false. The legal values in Spark components are "on", "off", and "auto". In order to support any of these five values in a selector that affects both Halo and Spark components, Halo components map "on" and "auto" to true and "off" to false, and Spark components map true to "on" and false to "off".

       

      We will decide later whether to switch the default to "auto", which is FTE and TLF's default.

       

      The global selector for Flex 4 now sets the default value for 'textAlign' to "start" instead of "left". The legal values in Halo components are "left", "center", "right", and "justify", but Spark components add "start" and "end" to support RTL text. In order to support any of these six values in a selector that affects both Halo and Spark components, Halo components map "start" to "left" and "end" to "right".

       

      QE Notes: Some tests may need updating due to these changes.

      Doc Notes: None

      Bugs: SDK-21624

      Reviewer: Carol

       

      Ticket Links:

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/defaults.css

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as