0 Replies Latest reply on Sep 8, 2008 12:42 PM by (GordonSmith)

    [svn] 3147: You can now use CSS styles to set the text format for TextBox and the default text format for TextGraphic .

    Level 1
      Revision: 3147
      Author: gosmith@adobe.com
      Date: 2008-09-08 13:42:17 -0700 (Mon, 08 Sep 2008)

      Log Message:
      -----------
      You can now use CSS styles to set the text format for TextBox and the default text format for TextGraphic. These components no longer have any formatting properties.

      Metadata for the styles that affect Gumbo text formatting is in six new include files in styles/metadata:

      BasicCharacterFormatTextStyles.as
      AdvancedContainerFormatTextStyles.as
      BasicParagraphFormatTextStyles.as
      AdvancedParagraphFormatTextStyles.as
      BasicContainerFormatTextStyles.as
      AdvancedContainerFormatTextStyles.as

      TextBox supports the "basic" subset. TextGraphic supports all of them.

      The 'global' selector now has the defaults for all of these styles. Five of them -- color, fontFamily, fontSize, kerning, and textAlign -- have default values which are, for now, the same as in Halo, but which may change later.

      Reviewer: Glenn
      Bugs: -
      QA: Lots of new stuff to test!
      Doc: No

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as
      flex/sdk/trunk/frameworks/projects/framework/defaults.css
      flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as

      Added Paths:
      -----------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/AdvancedCharacterFormat TextStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/AdvancedContainerFormat TextStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/AdvancedParagraphFormat TextStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/BasicCharacterFormatTex tStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/BasicContainerFormatTex tStyles.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/styles/metadata/BasicParagraphFormatTex tStyles.as