Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / src / layout / component / FieldSet.js
1 /**
2  * Component layout for Ext.form.FieldSet components
3  * @class Ext.layout.component.FieldSet
4  * @extends Ext.layout.component.Body
5  * @private
6  */
7 Ext.define('Ext.layout.component.FieldSet', {
8     extend: 'Ext.layout.component.Body',
9     alias: ['layout.fieldset'],
10
11     type: 'fieldset',
12
13     doContainerLayout: function() {
14         // Prevent layout/rendering of children if the fieldset is collapsed
15         if (!this.owner.collapsed) {
16             this.callParent();
17         }
18     }
19 });