{"identifier":83738,"topic":"Properties","name":"textAlign","text":"<code> set <\/code>[<code>the<\/code>]<code> textAlign to <i>alignment<\/i> set <\/code>[<code>the<\/code>]<code> textAlign of <i>field<\/i> \u00ac     to <i>alignment<\/i> set <\/code>[<code>the<\/code>]<code> textAlign of <i>button<\/i> \u00ac     to <i>alignment<\/i> <br><br>\n\n <\/code>The<code> textAlign <\/code>property returns or sets the way Paint text, text in a field, or a button name aligns within its rectangle. It can align <code>left<\/code>,<code> right<\/code>, or<code> center<\/code>. The default value is<code> left <\/code>for fields and paint text, and<code> center <\/code>for buttons. <br>\n<br>\n You can set the<code> textAlign <\/code>for radio buttons and check boxes, but the text always displays aligned <code>left<\/code>.  <br><br>\n\n You can\u2019t set the<code> textAlign <\/code>for a  chunk of text. <br>\n","related":{"45965":"reset","84911":"textFont","85522":"textHeight","85825":"textSize","86415":"textStyle"},"examples":"","demo":"","debug":{"9":["\rset [the] textAlign"],"10":["\rYou can set the tex"]}}