Garry's Mod Wiki

Panel:SetWidth

Panel:SetWidth( number width )

Description

Sets the width of the panel.

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

See also Panel:SetSize.

Arguments

1 number width
The new width of the panel.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 12