<doc>
	<legacy_id>1647</legacy_id>
	<name>textAlign</name>
	<type>property</type>

	<syntax>
		<example>set the textAlign [of <i>line</i>] of {<i>button </i>| <i>field</i>} to {left | center | right}</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Specifies how text is aligned or justified in a <keyword tag="field">field</keyword> or <keyword tag="button">button</keyword>.</summary>

	<examples>
<example>set the textAlign of field &quot;myField&quot; to center</example>
<example>set the textAlign of line 1 of field &quot;myField&quot; to right</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="5.5">Updated for paragraph level manipulation</changed>
	</history>

	<objects>
		<field/>
		<button/>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Appearance &amp; Positioning</category>
	</classification>

	<references>
		<property tag="margins">margins Property</property>
		<property tag="acceleratorText">acceleratorText Property</property>
		<property tag="printTextAlign">printTextAlign Property</property>
		<property tag="textSize">textSize Property</property>
		<property tag="hScrollbar">hScrollbar Property</property>
		<property tag="formattedText">formattedText Property</property>
		<property tag="formattedWidth">formattedWidth Property</property>
		<property tag="listBehavior">listBehavior Property</property>
		<property tag="listStyle">listStyle Property</property>
		<property tag="listDepth">listDepth Property</property>
		<property tag="firstIndent">firstIndent Property</property>
		<property tag="rightIndent">rightIndent Property</property>
		<property tag="spaceAbove">spaceAbove Property</property>
		<property tag="spaceBelow">spaceBelow Property</property>
		<property tag="tabstops">tabstops Property</property>
		<property tag="backgroundColor">backgroundColor Property</property>
		<property tag="borderWidth">borderWidth Property</property>
		<property tag="borderColor">borderColor Property</property>
		<property tag="hgrid">hgrid Property</property>
		<property tag="vgrid">vgrid Property</property>
		<property tag="hidden">hidden Property</property>
		<property tag="dontWrap">dontWrap Property</property>
	</references>

	<description>
	<overview>Use the <b>textAlign</b> <glossary tag="property">property</glossary> to change the alignment of individual lines of text in a field, the whole field or <glossary tag="button">buttons</glossary>.</overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>By default, the <b>textAlign</b> of newly created fields and buttons is &quot;left&quot;.</comments>
	</description>
</doc>