Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetHorizontalAlign#517742

<function name="GWEN_SetHorizontalAlign" parent="Panel" type="classfunc"> <description><internal></internal> Used by <page>Panel:ApplyGWEN</page> to apply the `HorizontalAlign` property to a panel object. This calls <page>Panel:SetContentAlignment</page>.</description> <realm>Client</realm> <args> <arg name="hAlign" type="string">The alignment, as a string, to pass to &lt;page&gt;Panel:SetContentAlignment&lt;/page&gt;. Accepts:&#xA;* `Right`: Align mid-right.&#xA;* `Left`: Align mid-left.&#xA;* `Center`: Align mid-center.</arg>⤶ <arg name="hAlign" type="string">The alignment, as a string, to pass to <page>Panel:SetContentAlignment</page>. Accepts:⤶ * `Right`: Align mid-right.⤶ * `Left`: Align mid-left.⤶ * `Center`: Align mid-center.</arg>⤶ </args> </function>