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

index 6ae5aa5..ec2203c 100644 (file)
@@ -620,6 +620,10 @@ Roo.extend(Roo.TabPanelItem, Roo.util.Observable, {
     autoSize : function(){
         //this.el.beginMeasure();
         this.textEl.setWidth(1);
+        /*
+         *  #2804 [new] Tabs in Roojs
+         *  increase the width by 2-4 pixels to prevent the ellipssis showing in chrome
+         */
         this.setWidth(this.textEl.dom.scrollWidth+this.pnode.getPadding("lr")+this.inner.getPadding("lr") + 2);
         //this.el.endMeasure();
     },