X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Border.html diff --git a/docs/source/Border.html b/docs/source/Border.html index ca67fd7b..2ca964ed 100644 --- a/docs/source/Border.html +++ b/docs/source/Border.html @@ -96,8 +96,6 @@ Ext.define('Ext.layout.container.Border', { bindToOwnerCtContainer: true, - fixedLayout: false, - percentageRe: /(\d+)%/, slideDirection: { @@ -167,6 +165,14 @@ Ext.define('Ext.layout.container.Border', { //</debug> }, + /* + * Gathers items for a layout operation. Injected into child Box layouts through configuration. + * We must not include child items which are floated over the layout (are primed with a slide out animation) + */ + getVisibleItems: function() { + return Ext.ComponentQuery.query(':not([slideOutAnim])', this.callParent(arguments)); + }, + initializeBorderLayout: function() { var me = this, i = 0, @@ -257,7 +263,8 @@ Ext.define('Ext.layout.container.Border', { maintainFlex: true, layout: { type: 'hbox', - align: 'stretch' + align: 'stretch', + getVisibleItems: me.getVisibleItems } })); hBoxItems.push(regions.center); @@ -311,7 +318,8 @@ Ext.define('Ext.layout.container.Border', { el: me.getTarget(), layout: Ext.applyIf({ type: 'vbox', - align: 'stretch' + align: 'stretch', + getVisibleItems: me.getVisibleItems }, me.initialConfig) }); me.createItems(me.shadowContainer, vBoxItems); @@ -471,7 +479,7 @@ Ext.define('Ext.layout.container.Border', { }, // Private - // Propogates the min/maxHeight values from the inner hbox items to its container. + // Propagates the min/maxHeight values from the inner hbox items to its container. fixHeightConstraints: function () { var me = this, ct = me.embeddedContainer,