Page 1 of 1

Script to right-align text within a text field box

Posted: Tue Jan 08, 2013 12:59 am
by abanowBUSTfGf
I have a text field and want the options of right and left-aligning the text within the box.
Does anyone have the script to do this? Tx.

Re: Script to right-align text within a text field box

Posted: Tue Jan 08, 2013 1:06 am
by dunbarx
Check out the "textAlign" property in the dictionary. Also, in the inspector, you can set these in the "Text Formatting" pane.

Craig Newman