flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "c sills (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34856) Mobile TextArea component loses HTML formatting with View change or Style change
Date Tue, 14 Jul 2015 04:33:04 GMT

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

c sills commented on FLEX-34856:


I found a hack someone posted in 2012.  

It fixes the display using the 'callLater' which means there is a delay with the fix but it's
better than nothing.  Hope someone can take the time to suggest a better solution.

Thank you.

> Mobile TextArea component loses HTML formatting with View change or Style change
> --------------------------------------------------------------------------------
>                 Key: FLEX-34856
>                 URL: https://issues.apache.org/jira/browse/FLEX-34856
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: Text
>    Affects Versions: Apache Flex 4.14.1
>         Environment: All Mobile Platforms
>            Reporter: c sills
>              Labels: easytest, patch
>             Fix For: Apache Flex 4.15.0
>         Attachments: TextAreaBug.fxp
> Steps to reproduce:
> 1. Using a Mobile TextArea component set the htmlText property of the StyleableTextField
display of the TextArea component. eg.
> StyleableTextField(main_txt.textDisplay).htmlText = "<b>HTML</b>";
> note: TextArea requires skin class: spark.skins.mobile.TextAreaSkin
> 2. Change a style on the TextArea such as Font Size or Font Type. eg.
> main_txt.setStyle("fontSize",25);
> 3. OR change to a new View and return to previous View with destructionPolicy="never"
> Results:
> HTML formatting like font color and size is removed.

This message was sent by Atlassian JIRA

View raw message