0 Replies Latest reply on May 21, 2009 8:56 AM by Carol L. Frampton

    [svn:fx-trunk] 7176: Rework autoSizing.

    Carol L. Frampton Level 2

      Revision: 7176

      Author:   cframpto@adobe.com

      Date:     2009-05-21 07:55:47 -0700 (Thu, 21 May 2009)

       

      Log Message:

      ***********

      Rework autoSizing.  If height and width specified, they will be used, even if autoSize=true.  Make sure RichEditableTextContainerManager.drawBackgroundAndSetScrollRect() does the right thing for the autoSizing case. 

       

      autoSize may return true even if not actually autoSizing in the cases where height and width are explicitly set or this component is the viewport of a scroller (ie TextArea).

       

      QA Notes: TextArea and TextInput tests pass

      Doc Notes:

      Bugs: SDK-21312

      Reviewers: Gordon

       

      Ticket Links:

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

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

       

      Modified Paths:

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

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as