X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_bootstrap_layout_East.js.html;h=52992cab10a33efc6c7aaca8c4a54796ae425744;hb=ade0163e06142faa1968a52568612dc4d2525bc2;hp=8c48b392c2dbc062b232bf57bfc8d86461bdf589;hpb=60cf0ab490438ca1a26ac86abbf34b5fbcbf6560;p=roojs1 diff --git a/docs/src/Roo_bootstrap_layout_East.js.html b/docs/src/Roo_bootstrap_layout_East.js.html index 8c48b392c2..52992cab10 100644 --- a/docs/src/Roo_bootstrap_layout_East.js.html +++ b/docs/src/Roo_bootstrap_layout_East.js.html @@ -1,4 +1,4 @@ -/home/edward/gitlive/roojs1/Roo/bootstrap/layout/East.js +Roo/bootstrap/layout/East.js Roo.bootstrap.layout.East = function(config){ config.region = "east"; config.cursor = "e-resize"; @@ -8,13 +8,21 @@ this.split.orientation = Roo.bootstrap.SplitBar.HORIZONTAL; this.split.el.addClass("roo-layout-split-h"); } - var size = config.initialSize || config.width; - if(typeof size != "undefined"){ - this.el.setWidth(size); - } + }; Roo.extend(Roo.bootstrap.layout.East, Roo.bootstrap.layout.Split, { orientation: Roo.bootstrap.SplitBar.HORIZONTAL, + + onRender : function(ctr, pos) + { + Roo.bootstrap.layout.Split.prototype.onRender.call(this, ctr, pos); + var size = this.config.initialSize || this.config.width; + if(this.el && typeof size != "undefined"){ + this.el.setWidth(size); + } + + }, + getBox : function(){ if(this.collapsed){ return this.collapsedEl.getBox();