Garry's Mod Wiki

Panel:GWEN_SetHorizontalAlign

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.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

Session 0
DB GetPage 4
Generate Html 7
SaveChanges 11
Render Body 0
Render Sidebar 10