Roo/bootstrap/panel/Content.js
authoredward <edward@roojs.com>
Wed, 6 Dec 2017 04:41:57 +0000 (12:41 +0800)
committeredward <edward@roojs.com>
Wed, 6 Dec 2017 04:41:57 +0000 (12:41 +0800)
Roo/bootstrap/panel/Content.js

index 02d4bd8..cbf24f6 100644 (file)
@@ -333,22 +333,12 @@ panel.load({
     adjustForComponents : function(width, height)
     {
         //Roo.log('adjustForComponents ');
-        if(this.title == 'Log Grid'){
-            Roo.log('adjustForComponents ');
-            Roo.log(this.resizeEl);
-            Roo.log(this.el);
-            Roo.log(this.adjustments);
-            Roo.log([width, height]);
-        }
         if(this.resizeEl != this.el){
             width -= this.el.getFrameWidth('lr');
             height -= this.el.getFrameWidth('tb');
         }
         if(this.toolbar){
             var te = this.toolbar.getEl();
-            Roo.log(te);
-            Roo.log('tool bar height!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1');
-            Roo.log(te.getHeight(true));
             height -= te.getHeight();
             te.setWidth(width);
         }
@@ -360,6 +350,7 @@ panel.load({
             te.setWidth(width);
         }
         
+        
         if(this.adjustments){
             width += this.adjustments[0];
             height += this.adjustments[1];