Hi Ori, I have installed the Hebrew version as you indicated and it's 
displaying fine, with RTL layout.

I have a few questions: the UI is very customized, so it's difficult to tell 
what mobile component you are using, or if everything is custom.

- are you using spark Label to display custom text, or is it StyleableTextField?
- are you using StyleableTextField in the custom list renderers ? 
- what about the many buttons, which have a custom skin most of the time 
(orange, green).  Are you using spark label in the button custom skins?

Thanks for your answers.

Maurice 

-----Message d'origine-----
De : Ori 007 [mailto:[email protected]] 
Envoyé : mercredi 26 mars 2014 11:44
À : [email protected]
Objet : Re: No Prompt in TextInput when layoutDirection set to RTL (Mobile)

Please try to install it in English, remove it, and install it again in Hebrew.


On Wed, Mar 26, 2014 at 12:30 PM, Ori 007 <[email protected]> wrote:

> Yes. Exactly what you said!
> And it works great (except the TextInput in some cases)
>
>
> On Wed, Mar 26, 2014 at 12:15 PM, Maurice Amsellem < 
> [email protected]> wrote:
>
>> Hi Ori,
>>
>> Thanks for the answer.  I will download the app when at home and try 
>> it in Hebrew.
>>
>> One question:
>>
>> From the screenshot in the app store (in English), the UI layout is 
>> left to right.
>>
>> Do you change it to right-to-left when the language is Hebrew , which 
>> means not only the text letters are from right to left, but also the 
>> LAYOUT of the application is mirrored?
>>
>> Regards,
>>
>> Maurice
>>
>> -----Message d'origine-----
>> De : Ori 007 [mailto:[email protected]] Envoyé : mercredi 26 mars 2014 
>> 09:49 À : [email protected] Objet : Re: No Prompt in TextInput 
>> when layoutDirection set to RTL
>> (Mobile)
>>
>> 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/id718985
>> 854?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/WS19f279b149e7481c698e8
>> > 571 2b3011fe73-7fff.html#WS19f279b149e7481c7c94ce7c12b30152f48-7ffc
>> > Specs:
>> > http://sourceforge.net/adobe/flexsdk/wiki/Mobile%20Text%20Component
>> > s
>> >  >
>> > http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e11
>> > 269
>> > 51a2d98-7ffe.html
>> > >
>> > http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e11
>> > 269
>> > 51a2d98-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.
>> > >
>> >
>>
>
>

Reply via email to