cristallium opened a new issue #766: Issue on j:Tab selection SDK0.9.7 
royale-asjs_jsonly #1070 (today build)
URL: https://github.com/apache/royale-asjs/issues/766
 
 
   Hi Carlos,
   
   Perharps a side effect of Group clipcontent ?
   
   If you try to select a Tab, when you clic on it, the background goes blue 
but the tab isn't selected. If you want to select it you must clic on a zone 
the same size as text label (see picture)
   
   
![image](https://user-images.githubusercontent.com/6851433/77164157-f9251700-6aaf-11ea-9f15-1f2506d41fb3.png)
   
   
   Here is the test case :
   
   ```
   <j:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; 
        xmlns:j="library://ns.apache.org/royale/jewel" 
        xmlns:js="library://ns.apache.org/royale/basic" 
        xmlns:local="*" >
   
   
        <j:valuesImpl>
                <js:SimpleCSSValuesImpl />
        </j:valuesImpl>
   
        <j:initialView>
                <j:View width="100%" height="100%">
   
                        <j:TabBar width="100%" >
                                                <j:beads>
                                                        <js:ConstantBinding 
sourcePropertyName="tabBarDataSample" destinationPropertyName="dataProvider"/>
                                                        <j:AssignTabContent 
selectedContentProperty="content">
                                                                <j:content>
                                                                        
<j:TabBarContent width="100%" y="80">
                                                                                
<j:SectionContent name="abonnement">
                                                                                
        <j:Label text="T1"/>
                                                                                
</j:SectionContent>
                                                                                
<j:SectionContent name="informations">
                                                                                
        <j:Label text="T2"/>
                                                                                
</j:SectionContent>
                                                                        
</j:TabBarContent>
                                                                </j:content>
                                                        </j:AssignTabContent>
   
                                                </j:beads>
                                        </j:TabBar>
   
                </j:View>
        </j:initialView>
   
        <fx:Script>
                <![CDATA[
                        import org.apache.royale.collections.ArrayList;
   
                        private var _tabBarDataSample:ArrayList = new 
ArrayList([
                                {label:"Abonnement", content:"abonnement"},
                                {label:"Informations", content:"informations"}
                        ]);
                        
                        [Bindable]
                        public function get tabBarDataSample():ArrayList
                        {
                                return _tabBarDataSample;
                        }
                ]]>
        </fx:Script>
   </j:Application>
   ```

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