3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
4 <title>The source code</title>
\r
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
8 <body onload="prettyPrint();">
\r
9 <pre class="prettyprint lang-js"><div id="cls-Ext.layout.AutoLayout"></div>/**
10 * @class Ext.layout.AutoLayout
11 * <p>The AutoLayout is the default layout manager delegated by {@link Ext.Container} to
12 * render any child Components when no <tt>{@link Ext.Container#layout layout}</tt> is configured into
13 * a {@link Ext.Container Container}. ContainerLayout provides the basic foundation for all other layout
14 * classes in Ext. It simply renders all child Components into the Container, performing no sizing or
15 * positioning services. To utilize a layout that provides sizing and positioning of child Components,
16 * specify an appropriate <tt>{@link Ext.Container#layout layout}</tt>.</p>
18 Ext.layout.AutoLayout = Ext.extend(Ext.layout.ContainerLayout, {
19 runLayout: function(){
20 var ct = this.container;
22 delete ct.layoutPending;
26 Ext.Container.LAYOUTS['auto'] = Ext.layout.AutoLayout;