Garry's Mod Wiki

Revision Difference

Panel:SetWidth#510827

<function name="SetWidth" parent="Panel" type="classfunc">⤶ <description>⤶ Sets the width 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>⤶ <args>⤶ <arg name="width" type="number">The new width of the panel.</arg>⤶ </args>⤶ </function>⤶ ⤶