0 Replies Latest reply on Mar 17, 2009 9:34 AM by (Carol_Frampton)

    [svn:fx-trunk] 5347: 1.

    Level 1
      Revision: 5347
      Author: cframpto@adobe.com
      Date: 2009-03-17 10:34:54 -0700 (Tue, 17 Mar 2009)

      Log Message:
      -----------
      1. Implement autoSize in TextView (default=true), FxTextInput (defalt=false) and FxTextArea.as (default=false). If linesBreaks are toFit, maxWidth and percentWidth can be used to control the width. height, minHeight, maxHeight, percentHeight, width and minWidth are ignored.
      2. widthInChars changed to be width in ems (size of "M" in default font) even though the property hasn't been renamed yet. The default was changed from 20 to 15 for TextView, FxTextInput and FxTextArea.
      3. The heightInLines calculation was improved so it is much closer to what it would be if you actually measured the text.
      4. Removed showSelection/hideSelection from focusIn/Out handlers since they were no longer needed. We've implemented the various selection formats now.

      This will break a few mustella tests.

      QE Notes: sent Peter D. notes on how autoSize works
      Doc Notes:
      Bugs: SDK-19110, SDK-19034, SDK-19395, SDK-16359
      Reviewers: Gordon and some testing by Peter D.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-19110
      http://bugs.adobe.com/jira/browse/SDK-19034
      http://bugs.adobe.com/jira/browse/SDK-19395
      http://bugs.adobe.com/jira/browse/SDK-16359

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/defaults.css
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/TextUtil.as