This is a very simple layout style used to center contents within a container. This layout works within
+
This is a very simple layout style used to center contents within a container. This layout works within
nested containers and can also be used as expected as a Viewport layout to center the page layout.
As a subclass of FitLayout, CenterLayout expects to have a single child panel of the container that uses
the layout. The layout does not require any config options, although the child panel contained within the
@@ -28,7 +28,7 @@ Example usage:
autoHeight: true,
html: 'Some content
'
}]
-});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.
@@ -41,12 +41,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
|
|