Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    "\n" newline ignored by SC.say ?

    I have a message string like
    Code:
    String msg = "Value 1: " + stringVar1 + "\nValue 2: " + stringVar2;
    
    SC.say(msg);
    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?

    #2
    This value is interpreted as HTML, so use <br>.

    Comment

    Working...
    X