View Full Version : [2.0b1] MessageBox width bugette and suggestion

29 Oct 2007, 1:32 AM
Hi folks,

If you have a message box with a title longer than the text, the display can tend to get pretty messed up. Please see the attachments. MessageBox1.png is from this code:

Ext.Msg.alert("Fairly Long Message Title", "shortmsg");
...and MessageBox2.png is from this code (trying to prevent title wrap):

Ext.Msg.alert("Fairly Long Message Title".replace(/ /g, " "), "shortmsg");
Bugette: It probably shouldn't do that. :)
Suggestion: Automatically don't wrap titles that aren't seriously long


29 Oct 2007, 2:51 AM
I challenge you to provide a "real" test case. ;)

We'll take a look at it.

29 Oct 2007, 3:15 AM
I challenge you to provide a "real" test case. ;)

:)) How 'bout:
Ext.Msg.alert("Joe's Nifty Application", "Logged Out"); ;)

But yes indeed, reasonably rare...