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

index b8b17df..e51510d 100644 (file)
@@ -338,12 +338,14 @@ panel.load({
             height -= this.el.getFrameWidth('tb');
         }
         if(this.toolbar){
+            
             var te = this.toolbar.getEl();
-            Roo.log(this.toolbar);
+            te.setWidth(width);
+            Roo.log('toolbar!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1');
             Roo.log(this.toolbar);
             Roo.log(te.getHeight());
             height -= te.getHeight();
-            te.setWidth(width);
+            
         }
         if(this.footer){
             var te = this.footer.getEl();