Hi Maurice, How are you?
Thanks for your reply. I develop using Flex for many years, including several mobile applications development. Some of those applications were in Hebrew with RTL layoutDirection. Apart than the issues I encountered in the TextInput component, I didn't have development, performance or any other problem. I assume it's because TextInput is a Native Extension. Anyway, the fix you provided for the first bug I opened (about a month ago) would really help me with RTL TextInput components. As for the current issue, I can manage without a fix, although it doesn't seem to be very complicated. You are invited to review the latest multilingual application I developed using Flex. iOS Version (currently for iPad only) - https://itunes.apple.com/il/app/prolog-digital-edition-cross/id718985854?mt=8 Desktop version - http://www.speakit.tv/en-US/Text-About Thanks, Ori On Sun, Mar 23, 2014 at 9:52 PM, Maurice Amsellem < [email protected]> wrote: > Hi Ori, after investigating a little, it seems that RTL is not supported > in Flex mobile apps: > > http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c698e85712b3011fe73-7fff.html#WS19f279b149e7481c7c94ce7c12b30152f48-7ffc > Specs: > http://sourceforge.net/adobe/flexsdk/wiki/Mobile%20Text%20Components > > > http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ffe.html > > > http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ffd.html > > This is because for performance reasons, mobile apps use TextField and > subclasses, which do not support bidi, wherease FTE/TFL does. > > However, doing some more tests shows that RTL alphabets (Arabic or Hebrew) > can actually be displayed, but RTL layout is not supported. > > This is to say that it's not just a problem with TextInput prompt text. > It's the whole thing that is not working. > > Do you get the same behavior in your app? > > That being said, I think RTL support in mobile apps could be fixed, but it > requires some work. > > You could open a "New feature" JIRA on that (Support for RTL layout in > mobile app) and vote on it. > > Maurice > > -----Message d'origine----- > De : Ori 007 [mailto:[email protected]] > Envoyé : vendredi 21 mars 2014 22:02 > À : [email protected] > Objet : Re: No Prompt in TextInput when layoutDirection set to RTL (Mobile) > > Jira: > https://issues.apache.org/jira/browse/FLEX-34181 > > Thanks. > > > On Fri, Mar 21, 2014 at 10:54 PM, Maurice Amsellem < > [email protected]> wrote: > > > Ori, I have reproduced the issue. Could you please create a JIRA > > ticket, as this is something new. > > > > Note that both ScrollingStageTextInputSkin and StageTextInputSkin are > > impacted (same code) but TextInputSkin also has the issue. > > > > Maurice > > > > -----Message d'origine----- > > De : Ori 007 [mailto:[email protected]] Envoyé : vendredi 21 mars 2014 > > 10:14 À : [email protected] Objet : No Prompt in TextInput when > > layoutDirection set to RTL (Mobile) > > > > Hi Maurice, > > > > How are you? > > > > I have a serious bug that I can not find a solution. > > When layoutDirection set to RTL to Textinput the prompt text does not > > appear. > > > > In LTR it's works fine. > > > > Do you have any advice or quick fix to the problem? > > > > > > Code Example: > > <?xml version="1.0" encoding="utf-8"?> <s:Application > > xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" applicationDPI="160"> > > <s:TextInput prompt="Ori" layoutDirection="ltr"/> <s:TextInput > > prompt="Ori" layoutDirection="rtl" top="50"/> </s:Application> > > > > Screenshot: > > http://screencast.com/t/HjNAd7PQaVG > > > > Regards, > > Ori. > > >
