Garry's Mod Wiki



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


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


1 Panel tgtPanel
The panel to align the right edge 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 width to increase, forming an overlap.

Special Pages



Render Time: 23ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7