Garry's Mod Wiki

Garry's Mod Wiki

  Panel:SetContentAlignment( number alignment )

Description

Sets the alignment of the contents.

This function only works on Label panels and its derivatives.

Arguments

1 number alignment
The direction of the content, based on the number pad.

1: bottom-left
2: bottom-center
3: bottom-right
4: middle-left
5: center
6: middle-right
7: top-left
8: top-center
9: top-right

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...