Garry's Mod Wiki

Panel:SetHeight

  Panel:SetHeight( number height )

Description

Sets the height of the panel.

Calls PANEL:OnSizeChanged and marks this panel for layout (Panel:InvalidateLayout).

See also Panel:SetSize.

Arguments

1 number height
The height to be set.