Garry's Mod Wiki

DHorizontalScroller:ScrollToChild

  DHorizontalScroller:ScrollToChild( Panel target )

Description

Scrolls the DHorizontalScroller to given child panel.

Arguments

1 Panel target
The target child panel. Must be a child of DHorizontalScroller:GetCanvas