yishayw opened a new issue #943:
URL: https://github.com/apache/royale-asjs/issues/943


   In this app
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <s:Application 
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.apache.org/royale/spark"
        width="100%"
        height="100%"
        >
        <fx:Script>
                <![CDATA[
                        import spark.components.BorderContainer;
   
                        private function onClick():void
                        {
                                var bc:BorderContainer = new BorderContainer();
                                bc.percentWidth = 100;
                                bc.height = 200;
                                bc.setStyle("backgroundColor", "red");
                                bottomContainer.addElement(bc);
                        }
                ]]>
        </fx:Script>            
        <s:Scroller id="topContainer" width="100%">
                <s:Group id="bottomContainer" width="100%" height="100%"/>
        </s:Scroller>
        <s:Button label="click" click="onClick()" bottom="0"/>
   </s:Application>
   
   ```
   
   Clicking on the button should show the red border container as it does in 
Flex.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to