3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
8 * @class Ext.layout.AutoLayout
9 * <p>The AutoLayout is the default layout manager delegated by {@link Ext.Container} to
10 * render any child Components when no <tt>{@link Ext.Container#layout layout}</tt> is configured into
11 * a {@link Ext.Container Container}.</tt>. AutoLayout provides only a passthrough of any layout calls
12 * to any child containers.</p>
14 Ext.layout.AutoLayout = Ext.extend(Ext.layout.ContainerLayout, {
19 onLayout : function(ct, target){
20 Ext.layout.AutoLayout.superclass.onLayout.call(this, ct, target);
21 var cs = this.getRenderedItems(ct), len = cs.length, i, c;
22 for(i = 0; i < len; i++){
25 // Shallow layout children
32 Ext.Container.LAYOUTS['auto'] = Ext.layout.AutoLayout;