PDA

View Full Version : message box text clipping off



avivenna
10 Oct 2012, 8:10 PM
Hi,

I am trying to display a big string without any spaces and when I use messagebox alert the text is clipped off. any suggestions to overcome this?

when I use EXT.encode() it works in firefox but not in ie or chrome.

Thanks,
Avi

mitchellsimoens
15 Oct 2012, 7:53 AM
This is expanding for me using 4.1.2:


Ext.Msg.alert('This can be a really really long title', 'Trying to create a long description. Is this long enough or does it need to be longer?');

avivenna
15 Oct 2012, 8:34 AM
Thanks for looking in to the thread and responding. The text I am trying to display doesnt contain any spaces or periods. for eg. consider the following code

Ext.Msg.alert('This can be a really really long title', 'Trying/to/create/a/long/description/Is/this/long/enough/or/does/it/need/to/be/longer/Trying/to/create/a/long/description/Is/this/long/enough/or/does/it/need/to/be/longer');