You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alexander Scheibe (JIRA)" <ji...@apache.org> on 2014/09/09 14:51:28 UTC
[jira] [Created] (FLEX-34532) Spark Label creates argument error if
its width is greater than TextBlock.MAX_LINE_WIDTH
Alexander Scheibe created FLEX-34532:
----------------------------------------
Summary: Spark Label creates argument error if its width is greater than TextBlock.MAX_LINE_WIDTH
Key: FLEX-34532
URL: https://issues.apache.org/jira/browse/FLEX-34532
Project: Apache Flex
Issue Type: Bug
Components: Spark: Label
Affects Versions: Apache Flex 4.13.0
Reporter: Alexander Scheibe
Priority: Minor
If for some reasons the labels width gets very large, than the labels private function 'createTextLinesFromTextBlock' will cause an ArgumentError in the textBlock.recreateTextLine function because the 3rd parameter 'maxLineWidth' can get larger than TextBlock.MAX_LINE_WIDTH.
The value of this parameter should be guarded with a Math.min check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)