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 02:08:45 UTC

[GitHub] justinmclean opened a new issue #76: Percentage width and height incorrectly uses padding

justinmclean opened a new issue #76: Percentage width and height incorrectly uses padding
URL: https://github.com/apache/royale-asjs/issues/76
 
 
   This example code can be scrolled sidewise until hello world is flash left on left hand side of the browser (i.e. by 500 pixels). Can also be scrolled down.
   
   I would of expected no scrollbars and the container to be the size of the browser window.
   
   ```
   <?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>
               <js:style>
                   <js:SimpleCSSStyles padding="500" />
               </js:style>
               <js:Container width="100%" height="100%">
                   <js:Label text="Hello 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