Right now, Label doesn't support line breaks (and Prompt uses a Label to
display the message).  Try using a Label as the body component of the
Prompt:

            String message = "...";
            Label body = new Label("...");
            body.getStyles().put("wrapText", true);
            Prompt.prompt(MessageType.WARNING, message, body, ownerWindow);

-T

On Thu, Oct 1, 2009 at 9:19 PM, Vicente de Rivera III <
[email protected]> wrote:

> Hi again,How do you add a line break in a Pivot component's text?
> Specifically in the 'message' param of Prompt?
>

Reply via email to