projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb44fb
)
Roo/TabPanel.js
author
Edward
<edward@roojs.com>
Mon, 22 Sep 2014 02:11:59 +0000
(10:11 +0800)
committer
Edward
<edward@roojs.com>
Mon, 22 Sep 2014 02:11:59 +0000
(10:11 +0800)
Roo/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/TabPanel.js
b/Roo/TabPanel.js
index
6ae5aa5
..
ec2203c
100644
(file)
--- a/
Roo/TabPanel.js
+++ b/
Roo/TabPanel.js
@@
-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();
},