Roo/TabPanel.js
authorEdward <edward@roojs.com>
Mon, 22 Sep 2014 02:06:04 +0000 (10:06 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Sep 2014 02:06:04 +0000 (10:06 +0800)
Roo/TabPanel.js

index 696f1cf..45c2e71 100644 (file)
@@ -624,6 +624,7 @@ Roo.extend(Roo.TabPanelItem, Roo.util.Observable, {
     autoSize : function(){
         //this.el.beginMeasure();
         this.textEl.setWidth(1);
+        Roo.log(this.textEl);
         this.setWidth(this.textEl.dom.scrollWidth+this.pnode.getPadding("lr")+this.inner.getPadding("lr"));
         //this.el.endMeasure();
     },