0 Replies Latest reply on Apr 3, 2009 11:18 AM by (Carol_Frampton)

    [svn:fx-trunk] 5912: -Redo clipping.

    Level 1
      Revision: 5912
      Author: cframpto@adobe.com
      Date: 2009-04-03 12:18:48 -0700 (Fri, 03 Apr 2009)

      Log Message:
      -----------
      -Redo clipping.
      -Shared display object containers used if text not being clipped and container is BasicLayout
      -SimpleText will recycle text lines if the player supports it (>= Argo)
      -SimpleText now supports truncation. -1 means fill box and truncate if overflow. 0 mean no truncation. >0 is the number of lines to keep before truncating.

      There is one issue with textLines being composed with x=0 and textWidth=-number which isn't reflected in the bounding box for either SimpleText or RichText so the text isn't clipped properly. (kerning=on and trackingLeft=-10 demonstrates this).

      QE Notes:
      Doc Notes:
      Bugs:
      Reviewers: will be Gordon

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as
      flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as
      flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicEleme nt.as
      flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicE lement.as