Garry's Mod Wiki


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


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


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

Page Links

Special Pages



Render Time: 45ms

DB GetPage 4
Generate Html 10
SaveChanges (1) 15
Render Body 0
Render Sidebar 12