You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/11/13 01:07:27 UTC

[GitHub] justinmclean commented on issue #73: Accidentally adding bead to style causes null pointer exception when compiling

justinmclean commented on issue #73: Accidentally adding bead to style causes null pointer exception when compiling 
URL: https://github.com/apache/royale-asjs/issues/73#issuecomment-343784619
 
 
   The correct working example would be:
   ```
   <?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:beads>
                  <js:style>
                      <js:SimpleCSSStyles padding="20" margin="50" backgroundColor="red" />
                  </js:style>
                  <js:Label text="Hello" />
                  <js:Label text="World" />
              </js:Container>
          </js:View>
      </js:initialView>
   </js:Application>
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services