EDIT: I should have said, "if I have the displayed text `abc`" because in 
RTL languages the text `abc` actually matches the String `cba` and the 
String `cba` is displayed as the text `abc` but you probably got me there ;)

On Wednesday, April 25, 2018 at 7:48:54 AM UTC+2, Thomas wrote:
>
> I don't think setting the RTL flag to true will fix my issue. Because in 
> an RTL language, even if the text grow from right to left, new characters 
> should be append left. For example, suppose I have the string abc . If I 
> type `d`, the new string would be `dabc` with the RTL flag. Whereas what I 
> want is `abcd` (even if my text is aligned right, I still want new 
> characters to be append right when editing)
>
>
> On Wednesday, April 25, 2018 at 7:39:08 AM UTC+2, Shai Almog wrote:
>>
>> RTL is a very different thing as the input is naturally from right to 
>> left so if you use the rtl flag instead of alignment you might get the 
>> behavior your are seeking. Notice you can enable that on a specific 
>> component only using setRTL(). 
>>
>> Generally text field/area alignment is a problematic subject as the 
>> process of getting consistent results with native here is pretty difficult.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0e6eff82-e722-4c3f-a065-8121ab1b00ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to