First of all, it's true that having fields with natural directionality will 
give you the proper runtime directionality (RTL/LTR) depending on the language 
in which the user is typing. To my knowledge, that doesn't affect the alignment 
(left/right), even if it would make sense for it to do so. If your app is not 
localized (i.e., you're just allowing text input, not actually providing a 
fully translated interface), you'll need to change the alignment based on the 
currently selected language. Is this what you are aiming for?

Aviah Morag
[email protected]




On 11 באפריל 2012, at 10:26, Kyle Sluder wrote:

> On Apr 11, 2012, at 10:17 AM, Matthew Weinstein <[email protected]> wrote:
> 
>> Thanks for all the replies. Unfortunately NSNaturalTextAlignment doesn't 
>> seem to affect the justification of the textfields. Try creating a simple 
>> project and simply put a textfield and textview in the window in 
>> MainMenu.xib. Changing the input to hebrew, running the program does change 
>> the text to LTR but it's still justfied on the wrong side.
> 
> Changing the input method or changing the system language? These are two 
> different things.
> 
> --Kyle Sluder
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/amorag%40apple.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to