5 Roo.bootstrap.layout.South = function(config){
6 config.region = 'south';
7 config.cursor = 's-resize';
8 Roo.bootstrap.layout.Split.call(this, config);
10 this.split.placement = Roo.bootstrap.SplitBar.BOTTOM;
11 this.split.orientation = Roo.bootstrap.SplitBar.VERTICAL;
12 this.split.el.addClass("roo-layout-split-v");
17 Roo.extend(Roo.bootstrap.layout.South, Roo.bootstrap.layout.Split, {
18 orientation: Roo.bootstrap.SplitBar.VERTICAL,
20 onRender : function(ctr, pos)
22 Roo.bootstrap.layout.Split.prototype.onRender.call(this, ctr, pos);
23 var size = this.config.initialSize || this.config.height;
24 if(this.el && typeof size != "undefined"){
25 this.el.setHeight(size);
32 return this.collapsedEl.getBox();
34 var box = this.el.getBox();
36 var sh = this.split.el.getHeight();
43 updateBox : function(box){
44 if(this.split && !this.collapsed){
45 var sh = this.split.el.getHeight();
48 this.split.el.setLeft(box.x);
49 this.split.el.setTop(box.y-sh);
50 this.split.el.setWidth(box.width);
53 this.updateBody(box.width, null);
55 Roo.bootstrap.layout.Region.prototype.updateBox.call(this, box);