0 Replies Latest reply on Jul 31, 2008 4:19 PM by (GordonSmith)

    [svn] 2698: TextView now has zero default padding, to match TextBox and TextGraphic.

    Level 1
      Revision: 2698
      Author: gosmith@adobe.com
      Date: 2008-07-31 17:19:14 -0700 (Thu, 31 Jul 2008)

      Log Message:
      -----------
      TextView now has zero default padding, to match TextBox and TextGraphic.

      This means that skins like TextInputSkin and TextAreaSkin now need to set padding on their TextView, to avoid having the text displayed too close to the border. You can't just inset the TextView from the border using left/top/right/bottom because then clicks in the area between the border and the text wouldn't be detected.

      Reviewer: Glenn
      Bug: SDK-16290
      QA: No
      Doc: No

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16290

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml