The following will work (notice html instead of text):

label.html ="first name<br/>last name"

The following will also work:

label.text = "first name{'\n'}last name"


-----Original Message-----
From: Bilbosax <[email protected]> 
Sent: Thursday, February 11, 2021 12:54 PM
To: [email protected]
Subject: [EXTERNAL] Jewel Label - Newline/Linebreak

I have a label that I need to put a linebreak in.  I cant figure out how to get 
a newline in my Jewel Label.  In the text property for the label, I have
tried:

label.text = "first name<br/>last name"
label.text = "first name\nlast name"
label.text = "first name\rlast name"
label.text = "first name\n\rlast name"
label.text = "first name&NewLine;last name"
label.text = "first name&#10;last name"


None of these have worked.  What is the secret?



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to