justinmclean opened a new issue #72: Accidentally adding style to beads gives 
no warnings and compiles
URL: https://github.com/apache/royale-asjs/issues/72
 
 
   More a JFYI than a bug (not an important one anyway) but someone may run 
into this and documenting it may help them.
   
   Example code:
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                  xmlns:js="library://ns.apache.org/royale/basic">
      <js:valuesImpl>
          <js:SimpleCSSValuesImpl/>
      </js:valuesImpl>
   
      <js:initialView>
          <js:View width="200" height="200">
              <js:Container>
                  <js:beads>
                      <js:VerticalLayout />
                      <js:SimpleCSSStyles padding="20" margin="50" 
backgroundColor="red" />
                  </js:beads>
                  <js:Label text="Hello" />
                  <js:Label text="World" />
              </js:Container>
          </js:View>
      </js:initialView>
   </js:Application>
   ```
   
   This will compile with no warnings or errors but the padding, margin and 
background colour are not applied.
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to