Garry's Mod Wiki

Panel:SetContentAlignment

Panel:SetContentAlignment( number alignment )

Description

Sets the alignment of the contents.

Arguments

1 number alignment
The direction of the content, based on the number pad. <table> <tr><td>7: top-left</td><td>8: top-center</td><td>9: top-right</td></tr> <tr><td>4: middle-left</td><td>5: center</td><td>6: middle-right</td></tr> <tr><td>1: bottom-left</td><td>2: bottom-center</td><td>3: bottom-right</td></tr> </table>

Page Links


Special Pages


Wikis

?

Render Time: 24ms

Session 0
DB GetPage 3
Generate Html 0
Render Body 0
Render Sidebar 10