Garry's Mod Wiki

DScrollPanel:SetCanvas

  DScrollPanel:SetCanvas( Panel canvas )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets the canvas of the DScrollPanel.

Arguments

1 Panel canvas
The new canvas