X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/src/layout/container/AbstractFit.js diff --git a/src/layout/container/AbstractFit.js b/src/layout/container/AbstractFit.js index 4eadc630..38aeab18 100644 --- a/src/layout/container/AbstractFit.js +++ b/src/layout/container/AbstractFit.js @@ -15,23 +15,7 @@ If you are unsure which license is appropriate for your use, please contact the /** * @class Ext.layout.container.AbstractFit * @extends Ext.layout.container.Container - *

This is a base class for layouts that contain a single item that automatically expands to fill the layout's - * container. This class is intended to be extended or created via the layout:'fit' {@link Ext.container.Container#layout} - * config, and should generally not need to be created directly via the new keyword.

- *

FitLayout does not have any direct config options (other than inherited ones). To fit a panel to a container - * using FitLayout, simply set layout:'fit' on the container and add a single panel to it. If the container has - * multiple panels, only the first one will be displayed. Example usage:

- *

-var p = new Ext.panel.Panel({
-    title: 'Fit Layout',
-    layout:'fit',
-    items: {
-        title: 'Inner Panel',
-        html: '<p>This is the inner panel content</p>',
-        border: false
-    }
-});
-
+ * @private */ Ext.define('Ext.layout.container.AbstractFit', {