Garry's Mod Wiki

DMenu:SetMaxHeight

  DMenu:SetMaxHeight( number maxHeight )

Description

Sets the maximum height the DMenu can have. If the height of all menu items exceed this value, a scroll bar will be automatically added.

Arguments

1 number maxHeight
The maximum height of the DMenu to set, in pixels