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' Ext.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
@@ -12,7 +12,7 @@ multiple panels, only the first one will be displayed. Example usage:
html:
'<p>This is the inner panel content</p>',
border: false
}
-});
Config Options
|
| extraCls : StringAn optional extra CSS class that will be added to the container. This can be useful for adding
+}); Config Options|
| extraCls : StringAn optional extra CSS class that will be added to the container. This can be useful for adding
customized styles to t... An optional extra CSS class that will be added to the container. This can be useful for adding
customized styles to the container or any of its children using standard CSS rules. See
Ext.Component.ctCls also.
@@ -25,12 +25,12 @@ which assign a value by default:
To configure the above Classes with an extra CSS class append to the default. For example,
for ColumnLayout: extraCls: 'x-column custom-class'
- | ContainerLayout | | renderHidden : Boolean True to hide each contained item on render (defaults to false). | ContainerLayout |
Public PropertiesPublic Properties|
| activeItem : Ext.ComponentA reference to the Ext.Component that is active. For example, if(myPanel.layout.activeItem.id == 'item-1') { ... }
a... | ContainerLayout | | fieldTpl : Ext.TemplateThe Ext.Template used by Field rendering layout classes (such as
-Ext.layout.FormLayout) to create the DOM structure o... | ContainerLayout | | fieldTpl : Ext.TemplateThe Ext.Template used by Field rendering layout classes (such as
+Ext.layout.FormLayout) to create the DOM structure o... The Ext.Template used by Field rendering layout classes (such as
Ext.layout.FormLayout) to create the DOM structure of a fully wrapped,
labeled and styled form Field. A default Template is supplied, but this may be
overriden to create custom field structures. The template processes values returned from
|
|