yangyxd / FMXUI

FMX跨平台基础UI库
MIT License
261 stars 96 forks source link

Right To Left TTextView #27

Open engineer21 opened 3 years ago

engineer21 commented 3 years ago

Please support Right to left in TTextView Thanks

KngStr commented 3 years ago

Try to set BiDiMode property of form

GaNacereddine commented 3 years ago

@KngStr the problem is in the caret, the text will be shown to the right but the caret is moving on the left!!!

KngStr commented 3 years ago

@GaNacereddine

Caret? The TTextView does not have caret.

GaNacereddine commented 3 years ago

@KngStr Oh I'm sorry. I was talking about the Edit control. I mixed them up.

KngStr commented 3 years ago

@GaNacereddine

I do not have the Right to Left envirment to test it. Can you fix it?

GaNacereddine commented 3 years ago

Okay I will take a look, and see what I can do.

KngStr commented 3 years ago

@GaNacereddine

Thanks.

GaNacereddine commented 3 years ago

@KngStr It is working with the Arabic keyboard on windows. but it fails to render correctly on Android. I think the asker is looking for the support for Arabic, Hebrew type of languages where the letters change shape depending on the position. the current fmx does not support this feature.

KngStr commented 3 years ago

@GaNacereddine

Thanks