Garry's Mod Wiki

MatSelect:GetAutoHeight

  boolean MatSelect:GetAutoHeight()

Description

Returns whether the panel would set its own height to fit all materials within its height.

Returns

1 boolean autoSize
true = auto size itself.