cristallium opened a new issue #759: <j:TabBar> seems broken when set in 
<j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759
 
 
   Hi,
   I come back to work on my website using Apache Royale. It seem since last 
build (3 or 5 months over) that TabBar doesn't fill it's childs if insered into 
a group.
   
   Here is the code :
   
   
   ```
   <j:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                   xmlns:js="library://ns.apache.org/royale/basic" 
                   xmlns:j="library://ns.apache.org/royale/jewel" 
                   >
       <j:initialView>
           <j:View>
           <j:Label text="HELLO"/>
   
           <j:Group width="100%" height="100%">
               <j:TabBar width="100%" rowHeight="60">
                   <j:beads>
                       <js:ConstantBinding 
sourcePropertyName="tabBarDataSample" destinationPropertyName="dataProvider"/>
                       <j:AssignTabContent selectedContentProperty="content">
                           <j:content>
                               <j:TabBarContent width="100%" height="600">
                                   <j:SectionContent name="informations" >
                                       <j:Label text="Informations"/>
                                   </j:SectionContent>
                                       <j:SectionContent name="commandes" >
                                       <j:Label text="Commandes"/>
                                   </j:SectionContent>
                               </j:TabBarContent>
                           </j:content>
                       </j:AssignTabContent>
                   </j:beads>
               </j:TabBar>
           </j:Group>
   
           </j:View>
       </j:initialView>   
   
   
       <fx:Script>
           <![CDATA[
               import org.apache.royale.collections.ArrayList;
   
                        private var _tabBarDataSample:ArrayList = new 
ArrayList([
                                {label:"Informations", content:"informations"},
                                {label:"Commandes", content:"commandes"}
                        ]);
                        
                        [Bindable]
                        public function get tabBarDataSample():ArrayList
                        {
                                return _tabBarDataSample;
                        }
           ]]>
       </fx:Script>
   </j:Application>
   ```
   
   To make this code working I must remove `<j:Group width="100%" 
height="100%">`
   
   There is no error in console
   
   Maybe I made a mistake ?
   
   Regards

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


With regards,
Apache Git Services

Reply via email to