It looks like you're new here. If you want to get involved, click one of these buttons!
I remember this was a post awhile back, where some guy was having trouble with text, where he wanted an entire string to go onto different lines, does anyone know how to do this or remember the topic? Thanks, Prynok
@Prynok Use textWrapWidth() to set the text width in pixels.
I'm not sure exactly what you're trying to do but if what you want is
"This is my string ah aha" to display:
This
Is
My string ah aha
Do "This\n is\n My string ah aha"
"This\n is\n My string ah aha"
\n splits the string onto a new line
\n
@JakAttak Thanks!
@Prynok Was this the post you were looking for.
http://twolivesleft.com/Codea/Talk/discussion/comment/31032
@dave1707 Yes!
Comments
@Prynok Use textWrapWidth() to set the text width in pixels.
I'm not sure exactly what you're trying to do but if what you want is
"This is my string ah aha" to display:
This
Is
My string ah aha
Do
"This\n is\n My string ah aha"
\n
splits the string onto a new line@JakAttak Thanks!
@Prynok Was this the post you were looking for.
@dave1707 Yes!