ContainerLayout BorderLayout
Package: | Ext.layout |
Defined In: | BorderLayout.js |
Class: | BorderLayout |
Extends: | ContainerLayout |
This is a multi-pane, application-oriented UI layout style that supports multiple nested panels, automatic split bars between regions and built-in expanding and collapsing of regions. This class is intended to be extended or created via the layout:'border' Ext.Container.layout config, and should generally not need to be created directly via the new keyword.
BorderLayout does not have any direct config options (other than inherited ones). All configs available for customizing the BorderLayout are at the Ext.layout.BorderLayout.Region and Ext.layout.BorderLayout.SplitRegion levels. Example usage:
var border = new Ext.Panel({
title: 'Border Layout',
layout:'border',
items: [{
title: 'South Panel',
region: 'south',
height: 100,
minSize: 75,
maxSize: 250,
margins: '0 5 5 5'
},{
title: 'West Panel',
region:'west',
margins: '5 0 0 5',
cmargins: '5 5 0 5',
width: 200,
minSize: 100,
maxSize: 300
},{
title: 'Main Content',
region:'center',
margins: '5 5 0 0'
}]
});
Config Options | Defined By | |
---|---|---|
extraCls : String An optional extra CSS class that will be added to the container (defaults to ''). This can be useful for adding custo...
An optional extra CSS class that will be added to the container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.
|
ContainerLayout | |
renderHidden : Boolean
True to hide each contained item on render (defaults to false).
|
ContainerLayout |