X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..ddde20c4d4ac6a8d53de079761155de813845b3c:/docs/source/Menu.html diff --git a/docs/source/Menu.html b/docs/source/Menu.html index 86f79e16..f8df5b1d 100644 --- a/docs/source/Menu.html +++ b/docs/source/Menu.html @@ -1,12 +1,18 @@ - - - - The source code - - - - -
/** + + + + The source code + + + + +
/*!
+ * Ext JS Library 3.2.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+
/** * @class Ext.menu.Menu * @extends Ext.Container *

A menu object. This is the container to which you may add menu items. Menu can also serve as a base class @@ -435,6 +441,10 @@ Ext.menu.Menu = Ext.extend(Ext.Container, { }else{ max = this.getHeight(); } + // Always respect maxHeight + if (this.maxHeight){ + max = Math.min(this.maxHeight, max); + } if(full > max && max > 0){ this.activeMax = max - this.scrollerHeight * 2 - this.el.getFrameWidth('tb') - Ext.num(this.el.shadowOffset, 0); this.ul.setHeight(this.activeMax); @@ -714,6 +724,6 @@ Ext.menu.MenuNav = Ext.extend(Ext.KeyNav, function(){ } }; }()); -

- +
+ \ No newline at end of file