Revision Difference
Panel:SetContentAlignment#524476
<function name="SetContentAlignment" parent="Panel" type="classfunc">
<description>Sets the alignment of the contents.</description>
<realm>Client</realm>
<args>
<arg name="alignment" type="number">The direction of the content, based on the number pad.
&lt;table&gt;⤶
&lt;tr&gt;&lt;td&gt;<key>7</key>: **top-left**&lt;/td&gt;&lt;td&gt;<key>8</key>: **top-center**&lt;/td&gt;&lt;td&gt;<key>9</key>: **top-right**&lt;/td&gt;&lt;/tr&gt;⤶
&lt;tr&gt;&lt;td&gt;<key>4</key>: **middle-left**&lt;/td&gt;&lt;td&gt;<key>5</key>: **center**&lt;/td&gt;&lt;td&gt;<key>6</key>: **middle-right**&lt;/td&gt;&lt;/tr&gt;⤶
&lt;tr&gt;&lt;td&gt;<key>1</key>: **bottom-left**&lt;/td&gt;&lt;td&gt;<key>2</key>: **bottom-center**&lt;/td&gt;&lt;td&gt;<key>3</key>: **bottom-right**&lt;/td&gt;&lt;/tr&gt;⤶
&lt;/table&gt;⤶
⤶
<key>1</key>: **bottom-left** <br/>⤶
<key>2</key>: **bottom-center** <br/>⤶
<key>3</key>: **bottom-right** <br/>⤶
<key>4</key>: **middle-left** <br/>⤶
<key>5</key>: **center** <br/>⤶
<key>6</key>: **middle-right** <br/>⤶
<key>7</key>: **top-left** <br/>⤶
<key>8</key>: **top-center** <br/>⤶
<key>9</key>: **top-right** <br/>⤶
<image src="DLabel_SetContentAlignment.gif"/></arg>
</args>
</function>