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/83f2eaef-13e9-4987-9563-0e518d3c85b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
