X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/AutoLayout.html diff --git a/docs/source/AutoLayout.html b/docs/source/AutoLayout.html new file mode 100644 index 00000000..5b6aff75 --- /dev/null +++ b/docs/source/AutoLayout.html @@ -0,0 +1,29 @@ + + + + The source code + + + + +
/** + * @class Ext.layout.AutoLayout + *

The AutoLayout is the default layout manager delegated by {@link Ext.Container} to + * render any child Components when no {@link Ext.Container#layout layout} is configured into + * a {@link Ext.Container Container}. ContainerLayout provides the basic foundation for all other layout + * classes in Ext. It simply renders all child Components into the Container, performing no sizing or + * positioning services. To utilize a layout that provides sizing and positioning of child Components, + * specify an appropriate {@link Ext.Container#layout layout}.

+ */ +Ext.layout.AutoLayout = Ext.extend(Ext.layout.ContainerLayout, { + runLayout: function(){ + var ct = this.container; + ct.doLayout(); + delete ct.layoutPending; + } +}); + +Ext.Container.LAYOUTS['auto'] = Ext.layout.AutoLayout; +
+ + \ No newline at end of file