You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Brian Raymes <br...@teotech.com> on 2021/02/11 22:03:10 UTC
RE: [EXTERNAL] Jewel Label - Newline/Linebreak
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 <wa...@comcast.net>
Sent: Thursday, February 11, 2021 12:54 PM
To: users@royale.apache.org
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
last name"
label.text = "first name last name"
None of these have worked. What is the secret?
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
RE: [EXTERNAL] Jewel Label - Newline/Linebreak
Posted by Bilbosax <wa...@comcast.net>.
Perfect Brian, thanks! This is exactly what I was looking for. Just as an
observation, I could get your label.html example to work, but not the
label.text example
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/