You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/03/17 06:28:19 UTC

[GitHub] [royale-asjs] nihavend opened a new issue #758: NavigatorContent can not get label from locale resources

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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] nihavend edited a comment on issue #758: NavigatorContent can not get label from locale resources

Posted by GitBox <gi...@apache.org>.
nihavend edited a comment on issue #758: NavigatorContent can not get label from locale resources
URL: https://github.com/apache/royale-asjs/issues/758#issuecomment-599950601
 
 
   It looks like need rewrite of the code rather than minor changes. I like to use TabBar and I can try to fix if you guide.
   
   Componenet is getting the label value but I guess the event fired is not handled.
   
   ![image](https://user-images.githubusercontent.com/5983818/76861239-51b8a200-686d-11ea-9f76-32fdcdef113f.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #758: NavigatorContent can not get label from locale resources

Posted by GitBox <gi...@apache.org>.
aharui closed issue #758: NavigatorContent can not get label from locale resources
URL: https://github.com/apache/royale-asjs/issues/758
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #758: NavigatorContent can not get label from locale resources

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #758: NavigatorContent can not get label from locale resources
URL: https://github.com/apache/royale-asjs/issues/758#issuecomment-599921595
 
 
   TabBar might be broken.  You can try mx:TabNavigator as a workaround.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] nihavend commented on issue #758: NavigatorContent can not get label from locale resources

Posted by GitBox <gi...@apache.org>.
nihavend commented on issue #758: NavigatorContent can not get label from locale resources
URL: https://github.com/apache/royale-asjs/issues/758#issuecomment-599950601
 
 
   It looks like need rewrite of the code rather than minor changes. I like to use TabBar and I can try to fix if you guide.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services