Garry's Mod Wiki

Garry's Mod Wiki

  Panel:GWEN_SetHorizontalAlign( string hAlign )

Description

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.

Arguments

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.

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...