0 Replies Latest reply on May 19, 2009 12:11 PM by Carol L. Frampton

    [svn:fx-trunk] 7079: -Move init of heightInLines out to skin.

    Carol L. Frampton Level 2

      Revision: 7079

      Author:   cframpto@adobe.com

      Date:     2009-05-19 10:43:53 -0700 (Tue, 19 May 2009)

       

      Log Message:

      ***********

      -Move init of heightInLines out to skin.

      -Handle constrained width in RichEditableText for both the autoSize and !autoSize case.

      -For autoSize, width/height/minWidth/minHeight are ignored.  If lineBreak="toFit", maxWidth determines where wrap will occur (unless it is constrained in which case that width trumps).  The default maxWidth, if not specified is 160.  If lineBreak="explicit" the text determines the width.  When autoSizing, height is not bounded and there is no scrolling.

       

      QA Notes:

      Doc Notes:

      Bugs: SDK-21115, SDK-20400, SDK-21125

      Reviewers: Gordon

       

      Ticket Links:

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextInput.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/TextAreaSkin.mxml

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/TextInputSkin.mxml