Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap content of dialog #14

Open
robyfofo opened this issue Aug 31, 2011 · 2 comments
Open

Wrap content of dialog #14

robyfofo opened this issue Aug 31, 2011 · 2 comments

Comments

@robyfofo
Copy link

hello,
why I cant wrap the text content of the dialog uing the
tab or \n code?
Howcan I do it?

Roberto

@arian
Copy link
Owner

arian commented Aug 31, 2011

Could you give a small example of what you're trying to achieve?

@robyfofo
Copy link
Author

Ok.
I have de code:
msg = 'textline1 textline2';
new MooDialog.Alert(msg);

the output of dialog is:
textline1 textline2
and it's ok.

but I want the output:
textline
textline2

I'll try with
or
tag:
msg = 'textline1
textline2';
new MooDialog.Alert(msg);

but the output is:
textline1
textline2

same thing with \n or \n\r...

Regards,
Roberto

@robyfofo robyfofo reopened this Aug 31, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants