- updateTextSize.defer(100);
-
- },
-
- updateTextSize: function()
- {
-
- var cw = Math.max(msgEl.offsetWidth, msgEl.scrollWidth);
- Roo.log("guesed size: " + cw);
+
+ var cw = Math.max(msgEl.offsetWidth, msgEl.parentNode.scrollWidth);
+ //Roo.log("guesed size: " + JSON.stringify([cw,msgEl.offsetWidth, msgEl.parentNode.scrollWidth]));