var pos = this.lastPoint - this.dragOffset - this.originPos; var start_region = this.paneBefore.position; var end_region = this.paneAfter.position + this.paneAfter.sizeActual; this.paneBefore.sizeActual = pos - start_region; this.paneAfter.position = pos + this.sizerWidth; this.paneAfter.sizeActual = end_region - this.paneAfter.position; dojo.forEach(this.getChildren(), function(child){ child.sizeShare = child.sizeActual; }); if(this._started){ this.layout(); }