0 Replies Latest reply on Sep 8, 2008 2:01 PM by (GordonSmith)

    [svn] 3148: You can now use CSS styles to set the default text format for TextView.

    Level 1
      Revision: 3148
      Author: gosmith@adobe.com
      Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)

      Log Message:
      -----------
      You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.

      SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.

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

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
      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