/** * @class Ext.layout.AutoComponentLayout * @extends Ext.layout.ComponentLayout * *

The AutoLayout is the default layout manager delegated by {@link Ext.Component} to * render any child Elements when no {@link Ext.Component#layout layout} is configured.

*/ Ext.layout.AutoComponentLayout = Ext.extend(Ext.layout.ComponentLayout, { type: 'autocomponent', onLayout : function(width, height) { this.setTargetSize(width, height); } }); Ext.regLayout('autocomponent', Ext.layout.AutoComponentLayout);