Is there a simple way to add a line break in the Label text?
<Label
id="Details"
height="300"
width="1300"
font="font:MediumBoldSystemFont"
text="Blah blah blah blah"
wrap="true"
translation="[300,600]" />
text="Blah blah
blah blah"
“belltown” wrote:
text="Blah blah
blah blah"
Thanks very much…this worked.
I used the global string function
chr(10)
as noted here: https://sdkdocs.roku.com/display/sdkdoc/Dialog
Example:
label.text = "first line" + chr(10) + "second line"
“lukechinworth” wrote:
I used the global string function
chr(10)
as noted here: https://sdkdocs.roku.com/display/sdkdoc/Dialog
Example:
label.text = "first line" + chr(10) + "second line"
This works well if the content is already rendered but if its a let’s say roUrlTransfer via xml file then belltown is correct.
I use the
when importing lyrics in xml format.