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


   In this Example
   
   ```
   <?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:mx="library://ns.apache.org/royale/mx"
        creationComplete="init()"
        xmlns:comp="components.*"
        >
        <fx:Style source="app-styles.css" />
        <fx:Script>
                <![CDATA[
                        private function init():void
                        {
                                SITE_ALIGNMENT.label = "SITE_ALIGNMENT";
                                SITE_MARGINS.label = "SITE_MARGINS";
                                SITE_SIZE.label = "SITE_SIZE";
                                DEFAULT_FONT_STYLE.label = 
"DEFAULT_FONT_STYLE";        
                        }
                ]]>
        </fx:Script>            
        <s:VGroup id="myLayout">
                <comp:SideLink 
                        id="DEFAULT_FONT_STYLE"
                        />
                <comp:SideLink 
                        id="SITE_SIZE"
                        />
                <comp:SideLink 
                        id="SITE_MARGINS"
                        />
                <comp:SideLink 
                        id="SITE_ALIGNMENT"
                        />
                <comp:SideLink 
                        id="BORDER_ICON"
                        />
        </s:VGroup>
   </s:Application>
   
   ```
   
   where SideLink is
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <s:Group
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:mx="library://ns.apache.org/royale/mx"
        xmlns:s="library://ns.apache.org/royale/spark"
        >
   
        <fx:Script>
                <![CDATA[
                        [Bindable]
                        public var icon:Object;
                        
                        [Bindable]
                        public var label:String;
                ]]>
        </fx:Script>
        
        <s:layout>
                <s:BasicLayout />
        </s:layout>
   
        <s:BitmapImage
                id="iconImg"
                source="{ icon }"
                y="0"
                verticalCenter="1"
                />
        <s:Label
                text="{ label }"
                />
   </s:Group>
   ```
   
   I'm getting labels stacked on top of each other, rather than vertically.
   
   
   


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