rem: var vcount = count - this.hiddenCount; if(!this.resizeTabs || count < 1 || vcount < 1 || this.updating) return; var w = Math.max(this.el.getWidth() - this.cpad, 10); var availWidth = Math.floor(w / vcount); var b = this.stripBody; if(b.getWidth() > w){ var tabs = this.items; this.setTabWidth(Math.max(availWidth, this.minTabWidth)-2); if(availWidth < this.minTabWidth){  } }else{ if(this.currentTabWidth < this.preferredTabWidth){ this.setTabWidth(Math.min(availWidth, this.preferredTabWidth)-2); } 
add: var ce = this.tabPosition != 'bottom' ? 'header' : 'footer'; var ow = this[ce].dom.offsetWidth; var aw = this[ce].dom.clientWidth;  if(!this.resizeTabs || count < 1 || !aw){             return; }  var each = Math.max(Math.min(Math.floor((aw-4) / count) - this.tabMargin, this.tabWidth), this.minTabWidth);         this.lastTabWidth = each; var lis = this.stripWrap.dom.getElementsByTagName('li'); for(var i = 0, len = lis.length-1; i < len; i++) {             var li = lis[i]; var inner = li.childNodes[1].firstChild.firstChild; var tw = li.offsetWidth; var iw = inner.offsetWidth; inner.style.width = (each - (tw-iw)) + 'px'; 
context:     autoSizeTabs : function(){        var count = this.items.length;        var vcount = count - this.hiddenCount;        if(!this.resizeTabs || count < 1 || vcount < 1 || this.updating) return;        var w = Math.max(this.el.getWidth() - this.cpad, 10);        var availWidth = Math.floor(w / vcount);        var b = this.stripBody;        if(b.getWidth() > w){            var tabs = this.items;            this.setTabWidth(Math.max(availWidth, this.minTabWidth)-2);            if(availWidth < this.minTabWidth){                            }        }else{            if(this.currentTabWidth < this.preferredTabWidth){                this.setTabWidth(Math.min(availWidth, this.preferredTabWidth)-2);            }        }    },
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/d109eea1e59fbb030ac98e95f181f72da9611a48/ext-all-debug.js/buggy/gemma-web/src/main/webapp/scripts/ext/ext-all-debug.js