0 Replies Latest reply on Nov 16, 2009 10:19 AM by Carol L. Frampton

    [svn:fx-trunk] 11851: Halo label using FTETextField was incorrectly truncating because the textWidth incorrectly included the 2 pixels of PADDING_LEFT .

    Carol L. Frampton Level 2

      Revision: 11851

      Revision: 11851

      Author:   cframpto@adobe.com

      Date:     2009-11-16 10:19:38 -0800 (Mon, 16 Nov 2009)

      Log Message:

      ***********

      Halo label using FTETextField was incorrectly truncating because the textWidth incorrectly included the 2 pixels of PADDING_LEFT.  Correct textWidth which should be the max textLine.textWidth.  Also need to maintain the width to use to clip the text which is max x + textWidth since the text could be indented and/or aligned and all has left padding of 2 pixels.

       

      QE notes: 80 FTETextField failures.  bitmaps need updating.  Peter knows this is coming

      Doc notes:

      Bugs: SDK-24176

      Reviewer: Gordon

      Tests run: checkintests, FTETextField

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

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