projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4fd8c
)
roojs-debug.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Dec 2011 05:11:57 +0000
(13:11 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Dec 2011 05:11:57 +0000
(13:11 +0800)
roojs-debug.js
patch
|
blob
|
history
diff --git
a/roojs-debug.js
b/roojs-debug.js
index
a4e52db
..
eca62c1
100644
(file)
--- a/
roojs-debug.js
+++ b/
roojs-debug.js
@@
-30101,6
+30101,13
@@
Roo.MessageBox = function(){
dlg.resizeTo(this.maxWidth, 100); // resize first so content is never clipped from previous shows
}
msgEl.innerHTML = text || ' ';
+ updateTextSize.defer(100);
+ return this;
+ },
+
+ updateTextSize: function()
+ {
+
var cw = Math.max(msgEl.offsetWidth, msgEl.scrollWidth);
Roo.log("guesed size: " + cw);
var w = Math.max(