Garry's Mod Wiki

Panel:StretchToParent

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

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
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


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 6