X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FContentPanel.js;h=29f2a68cebd74bc7752fcd495cc91a819e25bb9d;hb=61bc45258e16a779856dd2ad0862630b489e4583;hp=3cc953fc7be60fd5cf793b25791c1d2a6dc50110;hpb=df535552d73132e0c95bf51246169eba42cf51b3;p=roojs1 diff --git a/Roo/ContentPanel.js b/Roo/ContentPanel.js index 3cc953fc7b..29f2a68ceb 100644 --- a/Roo/ContentPanel.js +++ b/Roo/ContentPanel.js @@ -130,8 +130,7 @@ Roo.ContentPanel = function(el, config, content){ * @param {Roo.ContentPanel} this */ "render" : true - - + }); @@ -295,12 +294,10 @@ panel.load({ adjustForComponents : function(width, height) { - Roo.log('adjustForComponents '); - Roo.log([width, height]); + //Roo.log('adjustForComponents '); if(this.resizeEl != this.el){ width -= this.el.getFrameWidth('lr'); height -= this.el.getFrameWidth('tb'); - Roo.log([width, height]); } if(this.toolbar){ var te = this.toolbar.getEl(); @@ -309,7 +306,7 @@ panel.load({ } if(this.footer){ var te = this.footer.getEl(); - Roo.log("footer:" + te.getHeight()); + //Roo.log("footer:" + te.getHeight()); height -= te.getHeight(); te.setWidth(width);