Garry's Mod Wiki

MatSelect:SetAutoHeight

  MatSelect:SetAutoHeight( boolean autoSize )

Description

Sets whether the panel should set its own height to fit all materials within its height.

Arguments

1 boolean autoSize
If true, auto size itself.