flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35261) [FlexJS] background colour not set when using RGB values
Date Sun, 12 Feb 2017 06:39:41 GMT
Justin Mclean created FLEX-35261:
------------------------------------

             Summary: [FlexJS] background colour not set when using RGB values
                 Key: FLEX-35261
                 URL: https://issues.apache.org/jira/browse/FLEX-35261
             Project: Apache Flex
          Issue Type: Bug
          Components: FlexJS
    Affects Versions: Apache FlexJS 0.8.0
            Reporter: Justin Mclean


This code using a named colour works:

{code}
<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:js="library://ns.apache.org/flexjs/basic">
   <js:valuesImpl>
       <js:SimpleCSSValuesImpl/>
   </js:valuesImpl>

   <js:initialView>
       <js:View percentWidth="100" percentHeight="100" style="background-color:red;">
       </js:View>
   </js:initialView>
</js:Application>
{code}

However using a RGB value like this doesn’t work:

{code}
<js:initialView>
   <js:View percentWidth="100" percentHeight="100" style="background-color:#FF0000;">
   </js:View>
</js:initialView>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message