Garry's Mod Wiki

DSizeToContents:SetSizeY

  DSizeToContents:SetSizeY( boolean sizeY )

Description

Sets whether the DSizeToContents panel should size to contents vertically. This is true by default.

Arguments

1 boolean sizeY
Whether the panel should size to contents vertically.