DMenu/SetMaxHeight

From Garry's Mod
Jump to: navigation, search
 DMenu:SetMaxHeight( )

DescriptionPanelFunc

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

number maxHeight

The maximum height of the DMenu to set, in pixels
Personal tools
Navigation