Is it possible to insert any sort of line break in the text in an alert?
alert('my first line' + magic-line-break-thing + 'my second line')
Is it possible to insert any sort of line break in the text in an alert?
alert('my first line' + magic-line-break-thing + 'my second line')
This works :
lbl = Label()
lbl.text="Line 1\nLine2"
alert(lbl)
Edit -
or as a 1-liner :
alert(Label(text="Line1\nLine2"))