0 Replies Latest reply on Sep 11, 2008 4:33 PM by (GordonSmith)

    [svn] 3189: Accepted patch supplied in SDK-16641 and SDK-16643 to fix bad text measurement when the textIndent style is non-zero (as reported in SDK-16454 and SDK-15558).

    Level 1
      Revision: 3189<br />Author:   gosmith@adobe.com<br />Date:     2008-09-11 17:33:50 -0700 (Thu, 11 Sep 2008)<br /><br />Log Message:<br />-----------<br />Accepted patch supplied in SDK-16641 and SDK-16643 to fix bad text measurement when the textIndent style is non-zero (as reported in SDK-16454 and SDK-15558). The reported width should include the indent.<br /><br />Although this fixes the problems reported with Accordion and Button labels (and some other components like Panel that appeared in the bug examples), it doesn't fix the Text component (even though it appeared in the bug eaxmple for SDK-15558). For example, the following still is truncated for some reason:<br /><br /><mx:Text text="This mx:text gets truncated" textIndent="50"/><br /><br />This is presumably a separate bug, so I'm accepting the patch as being a step forward even if not a complete solution to textIndent-related measurement problems.<br /><br />Reviewer: N/A<br />Bugs: Patch SDK-16641 for SDK-16454; Patch SDK-16643 for SDK-15558<br />QA: Please file a new bug for the <mx:Text> problem.<br />Doc: No<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-16641<br />    http://bugs.adobe.com/jira/browse/SDK-16643<br />    http://bugs.adobe.com/jira/browse/SDK-16454<br />    http://bugs.adobe.com/jira/browse/SDK-15558<br />    http://bugs.adobe.com/jira/browse/SDK-15558<br />    http://bugs.adobe.com/jira/browse/SDK-16641<br />    http://bugs.adobe.com/jira/browse/SDK-16454<br />    http://bugs.adobe.com/jira/browse/SDK-16643<br />    http://bugs.adobe.com/jira/browse/SDK-15558<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/UITextFormat.as