Garry's Mod Wiki


Panel:GWEN_SetHorizontalAlign( string hAlign )


This is used internally - although you're able to use it you probably shouldn't.

Used by Panel:ApplyGWEN to apply the HorizontalAlign property to a panel object. This calls Panel:SetContentAlignment.


1 string hAlign
The alignment, as a string, to pass to Panel:SetContentAlignment. Accepts:

  • Right: Align mid-right.
  • Left: Align mid-left.
  • Center: Align mid-center.

Page Links

Special Pages



Render Time: 40ms

DB GetPage 4
Generate Html 5
SaveChanges (1) 16
Render Body 0
Render Sidebar 13