Garry's Mod Wiki

Revision Difference

Panel:SetHeight#550888

<function name="SetHeight" parent="Panel" type="classfunc"> <description> Sets the height of the panel. Calls <page>PANEL:OnSizeChanged</page> and marks this panel for layout (<page>Panel:InvalidateLayout</page>). See also <page>Panel:SetSize</page>. </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="height" type="number">The height to be set.</arg> </args> </function>