This is a region of a BorderLayout that acts as a subcontainer within the layout. Each region has its own layout that is independent of other regions and the containing BorderLayout, and can be any of the valid Ext layout types.
Region size is managed automatically and cannot be changed by the user -- for resizable regions, see Ext.layout.BorderLayout.SplitRegion.
{
top: (top margin),
right: (right margin),
bottom: (bottom margin),
left: (left margin)
}
May also be a string containing space-separated, numeric margin values. The order of the sides associated with each value matches the way CSS processes margin values.
Note: if a collapsible region does not have a title bar, then set collapseMode = 'mini' and split = true in order for the region to be collapsible by the user as the expand/collapse tool button (that would go in the title bar) will not be rendered.
See also cmargins.
true to allow the user to collapse this region (defaults to false). If true, an expand/collapse tool button will automatically be rendered into the title bar of the region, otherwise the button will not be shown.
Note: that a title bar is required to display the collapse/expand toggle button -- if no title is specified for the region's panel, the region will only be collapsible if collapseMode = 'mini' and split = true.
{
top: (top margin),
right: (right margin),
bottom: (bottom margin),
left: (left margin)
}
May also be a string containing space-separated, numeric margin values. The order of the sides associated with each value matches the way CSS processes margin values:
Defaults to:
{top:0, right:0, bottom:0, left:0}
true to create a SplitRegion and display a 5px wide Ext.SplitBar between this region and its neighbor, allowing the user to resize the regions dynamically. Defaults to false creating a Region.
Notes: