nihavend opened a new issue #758: NavigatorContent can not get label from 
locale resources
URL: https://github.com/apache/royale-asjs/issues/758
 
 
   NavigatorContent should have retrieved the label from resource manager but 
can not.
   
   View : 
   
   
![image](https://user-images.githubusercontent.com/5983818/76828222-81e24f80-6831-11ea-9c65-e457ac6f8c62.png)
   
   html : 
   
![image](https://user-images.githubusercontent.com/5983818/76827960-fa94dc00-6830-11ea-9776-e536a5f3c4eb.png)
   
   test code : 
   
   ```
   <?xml version="1.0" encoding="latin5" ?>
   
   <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"
                           height="600" width="800">
        
        <fx:Metadata>
                [ResourceBundle("messages")]
        </fx:Metadata>
   
        <s:VGroup paddingTop="0" width="100%" height="100%">
                <!-- Create a Spark ButtonBar control to navigate 
                the ViewStack container. -->
                <s:TabBar id="tabNavigator" dataProvider="{myViewStack}"/>
                
                <!-- Define the ViewStack and the three child containers. -->
                <mx:ViewStack id="myViewStack" borderStyle="none" width="100%" 
height="100%">
                        
                        <s:NavigatorContent id="jobListGridTab" 
label="{resourceManager.getString('messages', 'jobListGridTabLabel')}" 
width="21" height="200">
                                <s:layout> 
                                        <s:VerticalLayout/> 
                                </s:layout> 
        
                                <s:Button id="toggleTree1" y="-27" right="10" 
width="80" toolTip="Collapse" label="{resourceManager.getString('messages', 
'jobListGridTabLabel')}}"/>
        
                                <s:Button id="toggleTree2" y="-27" right="10" 
width="80" toolTip="Collapse" label="{resourceManager.getString('messages', 
'jobSummaryPanelColpBut')}"/>
                                
                        </s:NavigatorContent>
                        
                </mx:ViewStack>
        </s:VGroup>     
   </s: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