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


   In this application
   
   ```
   <?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"
        xmlns:comp="components.*"
        width="100%"
        height="100%"
        >
        <comp:CollapsiblePanel/>
   </s:Application>
   
   ```
   
   where Collapsible Panel is
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <s:SkinnableContainer 
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.apache.org/royale/spark"
        skinClass="components.CollapsiblePanelSkin"
        width="100%"
        >
   </s:SkinnableContainer>
   
   ```
   
   And CollapsiblePanelSkin is
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <s:SparkSkin
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.apache.org/royale/spark"
        >
        <fx:Metadata>
                [HostComponent("components.CollapsiblePanel")]
        </fx:Metadata>
        <s:Button left="0" right="0" height="24" />
        <s:Group id="contentGroup" width="100%" height="100%"/>
   </s:SparkSkin>
   
   ```
   
   The button should be spread to the width of the screen (as it does in Flex). 
Instead, it's got a 70px width.


----------------------------------------------------------------
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