flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-18072) Label does not show any text if truncateToFit is false
Date Sat, 04 May 2013 00:46:15 GMT

    [ https://issues.apache.org/jira/browse/FLEX-18072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648956#comment-13648956
] 

Justin Mclean commented on FLEX-18072:
--------------------------------------

Both truncateToFit="false" and truncateToFit="true" work as expected.
                
> Label does not show any text if truncateToFit is false
> ------------------------------------------------------
>
>                 Key: FLEX-18072
>                 URL: https://issues.apache.org/jira/browse/FLEX-18072
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: Label
>    Affects Versions: Adobe Flex SDK 3.3 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Browser: Firefox 3.x
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix, easytest
>
> Steps to reproduce:
> 1.
> Create a label
> 2.
> set truncateToFit to false
> 3.
> see that you see no text
>  
>  Actual Results:
>  No text is visible at all
>  
>  Expected Results:
> Seeing text
>  
>  
>  Workaround (if any):
>  
>  If you look at updateDisplayList you'll see a branch that does
>  if (truncateToFit)
> {
> ...
> }
> in there it sets the textField.text to _text;
> this does not happen at all otherwise, therefore you're sitting there with valid text
in
> _text, but it won't show
> can derive from label and set it manually in updateDisplayList i suppose

--
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

Mime
View raw message