Garry's Mod Wiki

Garry's Mod Wiki

  Panel:StretchBottomTo( Panel tgtPanel, number offset = 0 )

Description

Resizes the panel object's height so that its bottom is aligned with the top of the passed panel. An offset greater than zero will reduce the panel's height to leave a gap between it and the passed panel.

Arguments

1 Panel tgtPanel
The panel to align the bottom of this one with.
2 number offset = 0
The gap to leave between this and the passed panel. Negative values will cause the panel's height to increase, forming an overlap.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...