flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Scheibe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34532) Spark Label creates argument error if its width is greater than TextBlock.MAX_LINE_WIDTH
Date Tue, 09 Sep 2014 12:51:28 GMT
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)

Mime
View raw message