Roo/LayoutRegion.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 06:21:38 +0000 (14:21 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 06:21:38 +0000 (14:21 +0800)
Roo/LayoutRegion.js

index 9d8b8db..447220c 100644 (file)
@@ -197,6 +197,7 @@ Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
     updateBox : function(box){
         Roo.log('run updatebox !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11');
         this.box = box;
+        Roo.log(box);
         if(!this.collapsed){
             this.el.dom.style.left = box.x + "px";
             this.el.dom.style.top = box.y + "px";
@@ -212,6 +213,7 @@ Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
     },
 
     updateBody : function(w, h){
+        
         if(w !== null){
             this.el.setWidth(w);
             w -= this.el.getBorderWidth("rl");