Garry's Mod Wiki

Revision Difference

DMenu:SetMaxHeight#513514

<function name="SetMaxHeight" parent="DMenu" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Sets the maximum height the <page>DMenu</page> can have. If the height of all menu items exceed this value, a scroll bar will be automatically added.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="maxHeight" type="number">The maximum height of the &lt;page&gt;DMenu&lt;/page&gt; to set, in pixels</arg>⤶ </args>⤶ </function>⤶ ⤶