nihavend opened a new issue #599: TitleWindow layout is not properly displayed URL: https://github.com/apache/royale-asjs/issues/599 For this case, there are two main issues. 1. TitleWindow cross image is not shown that closes window 2. VGroup is not displayed as in flex Flex View :  Royale View :  Test Case For Royale : ``` <?xml version="1.0" encoding="utf-8"?> <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="100%" width="100%" > <fx:Metadata> </fx:Metadata> <fx:Script> <![CDATA[ // https://github.com/apache/royale-asjs/issues/598 import mx.managers.PopUpManager; import mx.core.IUIComponent; private var fileViewWindow:FindBugFileViewPopup; public function closePopup():void { PopUpManager.removePopUp(fileViewWindow); } public function onClick():void { var fileTag:String = "infotag=myraConfig" fileViewWindow = PopUpManager.createPopUp(this as IUIComponent, FindBugFileViewPopup, true) as FindBugFileViewPopup; PopUpManager.centerPopUp(fileViewWindow); fileViewWindow.setFocus(); } ]]> </fx:Script> <fx:Declarations> </fx:Declarations> <mx:Panel title="Sample Code For Bug : 598" paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"> <s:Button id="TwoNode" click="onClick()" label="Show Popup"/> <s:Button id="close" click="closePopup()" label="Close Popup"/> </mx:Panel> </s:Application> ``` ``` <?xml version="1.0"?> <s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.apache.org/royale/mx" xmlns:s="library://ns.apache.org/royale/spark" creationComplete="titlewindow1_creationCompleteHandler(event)" width="800" height="500"> <s:layout> <s:BasicLayout/> </s:layout> <fx:Script> <![CDATA[ import mx.controls.Alert; import mx.events.FlexEvent; import mx.managers.PopUpManager; import spark.layouts.HorizontalLayout; private var _fileTag:String; public function get fileTag():String { return _fileTag; } public function set fileTag(fileTag:String):void { _fileTag = fileTag; } private var titlePrefix:String = "Log View Window"; [Bindable] private var defEndOff:int = 5000; private var logViewCTX:String = "/logview"; private function refreshService(event:Event):void { Alert.show("Refresh Button Clicke Event Received"); } protected function titlewindow1_creationCompleteHandler(event:FlexEvent):void { title = titlePrefix; } ]]> </fx:Script> <fx:Declarations> </fx:Declarations> <s:VGroup left="5" right="10" top="10" bottom="10" height="100%" width="100%"> <mx:HBox id="firstRow" horizontalAlign="center" width="600"> <s:FormItem label="Begin Offset" layout="{new HorizontalLayout()}" width="200" > <s:NumericStepper id="beginOff" stepSize="1" width="100" minimum="0" maximum="999999999" /> </s:FormItem> <s:FormItem label="End Offset" layout="{new HorizontalLayout()}" width="200" > <s:NumericStepper id="endOff" stepSize="1" width="100" minimum="0" maximum="999999999" value="{defEndOff}"/> </s:FormItem> <s:FormItem width="200" > <s:Button label="Refresh" click="refreshService(event as Event)" /> </s:FormItem> </mx:HBox> <mx:HRule width="100%" /> </s:VGroup> </s:TitleWindow> ```
---------------------------------------------------------------- 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
