Panel:SetSize
Description
Sets the size of the panel.
Calls PANEL:OnSizeChanged and marks this panel for layout (Panel:InvalidateLayout). Automatically rounds the width and height down
See also Panel:SetWidth and Panel:SetHeight.
If you wish to position and re-size panels without much guesswork and have them look good on different screen resolutions, you may find Panel:Dock useful
Arguments
Page views: 25,393
Updated: Last Month
Updated: Last Month
Garry's Mod
Rust
Steamworks
Wiki Help