PDA

View Full Version : Bug in Ext.quickTips.show() when setting ext:width


schmidetzki
04-17-2007, 04:14 PM
There is a bug since beta2 in Ext.QuickTips.show().

If you specify ext:width in an element the width of the quicltip will be calculated as follows:

var p = getPad(), w = ce.width;
el.setWidth(w + p);
(quicktips.js, line 121 to 134)

However w ist as STRING (because its a dom attribite)!
If you define ext:width="200" the quicktip width will calculate to 20012 (in my case).

My workaround ist ti change line 134 in:
el.setWidth(Number(w) + p);

jack.slocum
04-17-2007, 04:55 PM
Thanks!