2 * @class Ext.layout.component.Auto
3 * @extends Ext.layout.component.Component
6 * <p>The AutoLayout is the default layout manager delegated by {@link Ext.Component} to
7 * render any child Elements when no <tt>{@link Ext.Component#layout layout}</tt> is configured.</p>
10 Ext.define('Ext.layout.component.Auto', {
12 /* Begin Definitions */
14 alias: 'layout.autocomponent',
16 extend: 'Ext.layout.component.Component',
20 type: 'autocomponent',
22 onLayout : function(width, height) {
23 this.setTargetSize(width, height);