[
https://issues.apache.org/jira/browse/FLEX-17549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652808#comment-13652808
]
Justin Mclean commented on FLEX-17549:
--------------------------------------
Used to measure baseline in other places in the SDK. Not sure that it's needed
here.
> According to mx:Label, 9 is larger than 99
> ------------------------------------------
>
> Key: FLEX-17549
> URL: https://issues.apache.org/jira/browse/FLEX-17549
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Label
> Affects Versions: Adobe Flex SDK 3.0 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Create a Label with a text of one character, like "9"
>
> Actual Results:
> The measured width is way larger than it should be. For example,
> Label.text="9" is larger than Label.text="99".
>
>
> Expected Results:
> The measured width should reflect the text value.
>
>
> Workaround (if any):
> Extend Label to override the getMinimumText function, which replaces the
> client text value by an internal constant string ("Wj") if the client text
> value is less than two characters long. I can manage to do just that, but
> since I spent the last hour looking at my own code only to finally figure out
> that the problem was this Label.getMinimumText thing, I would be delighted to
> read an explanation about it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira