X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/FieldSet2.html diff --git a/docs/source/FieldSet2.html b/docs/source/FieldSet2.html new file mode 100644 index 00000000..b9ba0583 --- /dev/null +++ b/docs/source/FieldSet2.html @@ -0,0 +1,38 @@ + + + + + The source code + + + + + + +
/**
+ * Component layout for Ext.form.FieldSet components
+ * @class Ext.layout.component.FieldSet
+ * @extends Ext.layout.component.Body
+ * @private
+ */
+Ext.define('Ext.layout.component.FieldSet', {
+    extend: 'Ext.layout.component.Body',
+    alias: ['layout.fieldset'],
+
+    type: 'fieldset',
+
+    doContainerLayout: function() {
+        // Prevent layout/rendering of children if the fieldset is collapsed
+        if (!this.owner.collapsed) {
+            this.callParent();
+        }
+    }
+});
+ +