justinmclean commented on issue #75: Set all padding values at once
URL: https://github.com/apache/royale-asjs/pull/75#issuecomment-343788964
 
 
   Example of use:
   ```
   <?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="20" />
               </js:style>
               <js:Container width="100%">
                   <js:beads>
                       <js:HorizontalLayoutWithPaddingAndGap padding="10" 
gap="20" />
                   </js:beads>
                   <js:TextButton text="Button 1" />
                   <js:TextButton text="Button 2" />
                   <js:TextButton text="Button 3" />
                </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:
[email protected]


With regards,
Apache Git Services

Reply via email to