Revision Difference
Panel:SetWidth#550926
<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>⤶
<realm>Client and Menu</realm>⤶
<args>
<arg name="width" type="number">The new width of the panel.</arg>
</args>
</function>