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");
14 var size = config.initialSize || config.height;
15 if(typeof size != "undefined"){
16 this.el.setHeight(size);
20 Roo.extend(Roo.bootstrap.layout.South, Roo.bootstrap.layout.Split, {
21 orientation: Roo.bootstrap.SplitBar.VERTICAL,
24 return this.collapsedEl.getBox();
26 var box = this.el.getBox();
28 var sh = this.split.el.getHeight();
35 updateBox : function(box){
36 if(this.split && !this.collapsed){
37 var sh = this.split.el.getHeight();
40 this.split.el.setLeft(box.x);
41 this.split.el.setTop(box.y-sh);
42 this.split.el.setWidth(box.width);
45 this.updateBody(box.width, null);
47 Roo.bootstrap.layout.Region.prototype.updateBox.call(this, box);