yishayw opened a new issue, #1206:
URL: https://github.com/apache/royale-asjs/issues/1206
In Flex, setting height of 100% on object A does not necessarily mean it
stretches to the size of its container B, whereas in Royale this is always the
case.
In this example
```
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:mx="library://ns.apache.org/royale/mx"
width="100%" height="100%">
<fx:Script>
<![CDATA[
]]>
</fx:Script>
<mx:HBox height="100%" width="100%">
<mx:Box width="20%" height="100%">
<mx:Canvas backgroundColor="red" width="100%"
height="100%"/>
</mx:Box>
<mx:Box width="60%" height="100%">
<mx:Canvas backgroundColor="green" width="100%"
height="1800" />
</mx:Box>
<mx:Box width="20%" height="100%">
<mx:Canvas backgroundColor="blue" width="100%"
height="100%"/>
</mx:Box>
</mx:HBox>
</mx:Application>
```
The Flex example will show all canvases (red, green, and blue) stretching to
a height of 1800 pixels, but in Royale, only the green canvas is sized to 1800
pixels, whereas the rest remain the size of the screen.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]