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

index 8d0fdef..696f1cf 100644 (file)
@@ -219,9 +219,11 @@ Roo.extend(Roo.TabPanel, Roo.util.Observable, {
         this.items[item.id] = item;
         this.items.push(item);
         if(this.resizeTabs){
+            Roo.log('resize tabs??');
            item.setWidth(this.currentTabWidth || this.preferredTabWidth);
            this.autoSizeTabs();
         }else{
+            Roo.log('no resize tabs??');
             item.autoSize();
         }
     },