2 Roo.bootstrap.layout.East = function(config){
3 config.region = "east";
4 config.cursor = "e-resize";
5 Roo.bootstrap.layout.Split.call(this, config);
7 this.split.placement = Roo.bootstrap.SplitBar.RIGHT;
8 this.split.orientation = Roo.bootstrap.SplitBar.HORIZONTAL;
9 this.split.el.addClass("roo-layout-split-h");
11 var size = config.initialSize || config.width;
12 if(typeof size != "undefined"){
13 this.el.setWidth(size);
16 Roo.extend(Roo.bootstrap.layout.East, Roo.bootstrap.layout.Split, {
17 orientation: Roo.bootstrap.SplitBar.HORIZONTAL,
20 return this.collapsedEl.getBox();
22 var box = this.el.getBox();
24 var sw = this.split.el.getWidth();
31 updateBox : function(box){
32 if(this.split && !this.collapsed){
33 var sw = this.split.el.getWidth();
35 this.split.el.setLeft(box.x);
36 this.split.el.setTop(box.y);
37 this.split.el.setHeight(box.height);
41 this.updateBody(null, box.height);
43 Roo.bootstrap.layout.Region.prototype.updateBox.call(this, box);