Garry's Mod Wiki

Revision Difference

DListView_Column:SetTextAlign#549911

<function name="SetTextAlign" parent="DListView_Column" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the text alignment for the column</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="alignment" type="number">The direction of the content, based on the number pad. | | | | | --- | --- | --- | | <key>7</key>: **top-left** | <key>8</key>: **top-center** | <key>9</key>: **top-right** | | <key>4</key>: **middle-left** | <key>5</key>: **center** | <key>6</key>: **middle-right** | | <key>1</key>: **bottom-left** | <key>2</key>: **bottom-center** | <key>3</key>: **bottom-right** | </arg> </args> </function>