Garry's Mod Wiki

Garry's Mod Wiki

  Panel:StretchToParent( number offsetLeft = nil, number offsetTop = nil, number offsetRight = nil, number offsetBottom = nil )

Description

Sets the dimensions of the panel to fill its parent. It will only stretch in directions that aren't nil.

Arguments

1 number offsetLeft = nil
The left offset to the parent.
2 number offsetTop = nil
The top offset to the parent.
3 number offsetRight = nil
The right offset to the parent.
4 number offsetBottom = nil
The bottom offset to the parent.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...