0

I am doing Window.prompt( <--Large Message-->, "" ); for some operation in Gwt. Now what happening is it is showing correct in Chrome Prompt in Chrome

but when it comes to Internet Explorer it looks like below where it is cutting the text. Prompt in IE

I am not checked everywhere but didn't get how to fix this. It will be very helpful if anybody can suggest.

Swaraj
  • 589
  • 4
  • 15
  • 1
    Perhaps try http://stackoverflow.com/questions/3162399/gwt-confirmation-dialog-box - http://www.java2s.com/Code/Java/GWT/CreateCustomDialog.htm – mplungjan Aug 20 '14 at 05:38
  • Can't I do anything with Window.prompt only. Do I need to create a Dialogbox??? – Swaraj Aug 20 '14 at 05:48

1 Answers1

1

Alerts are browser specific and You need to create your own custom Alert box.

See how to change the style of alert box

Use PopupPanel or DecoratedPopupPanel

Read more...

Here is one more sample on Create Custom Dialog or look at GWT showcase

Community
  • 1
  • 1
Braj
  • 46,415
  • 5
  • 60
  • 76