Garry's Mod Wiki

DMenu:SetMaxHeight

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

Special Pages


Wikis

?

Render Time: 42ms

DB GetPage 25
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7