I have a message string like
The newline character is ignored by SC message boxes (SC.say, SC.warn, etc), but used by com.google.gwt.user.client.Window.alert().
Of course I prefer to use the SC messages, as they look much better. But I need the newline for the presentation.
Is it possible to get a newline character in the SC dialogs?
Code:
String msg = "Value 1: " + stringVar1 + "\nValue 2: " + stringVar2; SC.say(msg);
Of course I prefer to use the SC messages, as they look much better. But I need the newline for the presentation.
Is it possible to get a newline character in the SC dialogs?
Comment