I'm trying to build a mobile app that supports both LTR and RTL locales, but
I keep running into problems. The latest is that when I set the prompt in a
TextInput to some Hebrew text (which should be RTL), it works fine on the
AIR emulator but on my Android phone. Here's my code:

<s:TextInput id="mainTextInput" prompt="הכנס מילה"
change="handleTextChanged()"
  width="100%" locale="he_IL" textAlign="right" />

On the AIR emulator, it works fine, but on my Nexus 4 running Android 4.4
Kit Kat, the characters are backwards, so the prompt says "הלימ סנכה". If I
type into the TextInput though, it works perfectly fine. It also works if
use `text="הכנס מילה"` instead of `prompt=`, so I assume the prompt is using
a different type of component.

I've played around with the direction and layoutDirection properties to no
avail. Does it make sense that the main text would work but not the
prompt?...
TYIA



-----
Beware of Newbie - I'm new to AS3 and Flex.
--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/RTL-text-in-TextInput-s-prompt-tp3921.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to