Panel/SetWidth

From Garry's Mod
Jump to: navigation, search
 Panel:SetWidth( )

Description

Sets the width of the panel.

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

Arguments

number width

The new width of the panel.
Personal tools
Navigation