This is a layout that enables anchoring of contained elements relative to the container's dimensions.
+
This is a layout that enables anchoring of contained elements relative to the container's dimensions.
If the container is resized, all anchored items are automatically rerendered according to their
anchor rules.
This class is intended to be extended or created via the layout:'anchor' Ext.Container.layout
@@ -28,7 +28,7 @@ logic if necessary. For example:
width:600,
anchor:
'-100 50%'
}]
-});
Config Options
|
| anchor : StringThis configuation option is to be applied to child items of a container managed by
+}); Config Options|
| anchor : StringThis configuation option is to be applied to child items of a container managed by
this layout (ie. configured with ... This configuation option is to be applied to child items of a container managed by
this layout (ie. configured with layout:'anchor').
This value is what tells the layout how an item should be anchored to the container. items
@@ -59,7 +59,7 @@ order for these to have any effect.
Anchor values can also be mixed as needed. For example, to render the width offset from the container
right edge by 50 pixels and 75% of the container's height use:
anchor: '-50 75%'
- | AnchorLayout | | extraCls : StringAn optional extra CSS class that will be added to the container. This can be useful for adding
+ | AnchorLayout | | 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.
@@ -72,8 +72,8 @@ 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 Properties|
| 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
+ | ContainerLayout | | renderHidden : Boolean True to hide each contained item on render (defaults to false). | ContainerLayout |
Public Properties|
| 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
|
|