New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PopUpWindow is not displayed nicely and throws exception #825
Comments
s:TextArea has problems, so replace it with mx:TextArea if you can. |
If you are not planning to emulate s:TextArea and do not want to spend time on the component than I am going to try to do my best. |
s:TextArea is one of the most complex and heavy components in both Flex and Royale. It's main goal was browser independent text rendering and the developers created a custom data format (TextFlow) to support it. A secondary goal was right-to-left text support. If you don't need that, then you are probably better off with a much simpler emulation. It should be possible to subclass mx.controls.TextArea and get it to work as spark.components.TextArea. One of the reasons I haven't coded that up is because I haven't figured out how to make the simpler emulation available alongside the heavy (but broken) version and let the developer choose which version to use (assuming someone someday fixes the heavy version). I am not making the fixing of the heavy version a priority because it is going to be a lot of work and I don't think anybody really needs that functionality right now and we might run into performance and fidelity issues. My main goal is to get people up and running. It is not a goal to emulate every feature of Flex. Swapping mx:TextArea for s:TextArea is way easier and will perform better and then I can go work on other things that users are asking for. |
FWIW, the showXML method is relying on deferred validation which won't work well in Royale. The method should be rewritten as:
This sets the properties before adding to the display list so the creationComplete will run after the properties are set. |
@aharui it looks like popup can display the content but the save button is not working. Do you want to follow with this thread or I may create a new issue ? |
If FileReference.save is not working, it would be better to open a new issue with a much simpler test case. |
It is not implemented.
|
When click on button, windows should be opened and the the xml should be displayed.
live test : click
Flex View :
Royale View :
Here is the test case (two sources):
The text was updated successfully, but these errors were encountered: