X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/FormLayout.html?ds=sidebyside diff --git a/docs/source/FormLayout.html b/docs/source/FormLayout.html index aac6360c..e40136c6 100644 --- a/docs/source/FormLayout.html +++ b/docs/source/FormLayout.html @@ -7,7 +7,7 @@
/*! - * Ext JS Library 3.2.0 + * Ext JS Library 3.2.1 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license @@ -193,6 +193,11 @@ Ext.layout.FormLayout = Ext.extend(Ext.layout.AnchorLayout, { onFieldShow: function(c){ c.getItemCt().removeClass('x-hide-' + c.hideMode); + + // Composite fields will need to layout after the container is made visible + if (c.isComposite) { + c.doLayout(); + } }, onFieldHide: function(c){ @@ -249,7 +254,7 @@ new Ext.Template( /** * @private - * + * */ renderItem : function(c, position, target){ if(c && (c.isFormField || c.fieldLabel) && c.inputType != 'hidden'){ @@ -321,7 +326,7 @@ new Ext.Template( */ getTemplateArgs: function(field) { var noLabelSep = !field.fieldLabel || field.hideLabel; - + return { id : field.id, label : field.fieldLabel,