nihavend opened a new issue #761: Spark Panel can not get label from locale resources URL: https://github.com/apache/royale-asjs/issues/761 something like #758 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> <fx:Script> <![CDATA[ private var flag:Boolean = true; protected function button1_clickHandler(event:MouseEvent):void { if(flag == true) { btn.label = "Hide Panel"; testPanel.visible = true; testPanel.includeInLayout = true; flag = false; } else { btn.label = "Show Panel" testPanel.visible = false; testPanel.includeInLayout = false; flag = true; } } ]]> </fx:Script> <s:layout> <s:VerticalLayout gap="10" paddingRight="10" paddingLeft="10" paddingTop="10" paddingBottom="20" /> </s:layout> <s:Button id="btn" label="Show Panel" click="button1_clickHandler(event)" /> <s:Label id="toLabel" text="{resourceManager.getString('messages', 'jobListGridTabLabel')}" fontSize="12" fontWeight="bold"/> <s:Panel id="testPanel" title="{resourceManager.getString('messages', 'jobListGridTabLabel')}" height="21" width="200" visible="false" includeInLayout="false"> </s:Panel> </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
