0 Replies Latest reply on Sep 12, 2009 5:42 PM by GordonSmith

    [svn:fx-trunk] 10210: Fixed problems found by using of UITLFTextField in < mx:Panel>.

    GordonSmith Level 4

      Revision: 10210

      Author:   gosmith@adobe.com

      Date:     2009-09-12 17:42:05 -0700 (Sat, 12 Sep 2009)

       

      Log Message:

      ***********

      Fixed problems found by using of UITLFTextField in <mx:Panel>.

       

      The getUITextFormat() method of UITLFTextField needs to set the useTLF flag to true.

       

      And the measure() method of UITextFormat should not set the antiAliasType, gridFitType, sharpness, or thickness of the measurementTextField if we're using TLF. These properties don't have any meaning in FTE so the displaying TLFTextField returns null or NaN values for them.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-22627, SDK-23077, SDK-23097

      Reviewer: Alex

      Tests run: ant checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as

          flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as