[ 
https://issues.apache.org/jira/browse/FLEX-35205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Ent resolved FLEX-35205.
------------------------------
       Resolution: Fixed
    Fix Version/s: Apache FlexJS 0.8.0

This fixes a coding error that prevented backgroundColor from being set on a 
Label. 

This also adds partial support for border style to Label (or any 
CSSTextField-based components). There are limitations with this fix:
1. Inline style, as suggested by the example in the problem description is not 
supported. You must use className attribute and specify the style in CSS or 
<fx:Style> block.
2. Only border: <thickness>px solid <color>; is supported in that order. 

> style properties are ignored in swf mode
> ----------------------------------------
>
>                 Key: FLEX-35205
>                 URL: https://issues.apache.org/jira/browse/FLEX-35205
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.7.0, Apache FlexJS 0.8.0
>            Reporter: Pan Li
>             Fix For: Apache FlexJS 0.8.0
>
>
> {code}
> <js:Label id="lbl" text="Hello" style="border: 1px solid red" width="200"/>
> {code}
> above code shows a border around the label in javascript mode
> the border is missing in swf mode



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to