does textzone offer wordwrap? I half remember it does but I can't find it.
I've got lots of vertical space, but the string is a long single line.
making height bigger seems to recentre the text. but doesn't wrap.
I've got lots of vertical space, but the string is a long single line.
making height bigger seems to recentre the text. but doesn't wrap.
Mensajes Fri 24 Feb 23 @ 10:15 pm
\n this works with the child format="..." or in action with `get_text 'first line\nsecond line'`
https://www.virtualdj.com/wiki/Skin%20SDK%20Textzone.html
https://www.virtualdj.com/wiki/Skin%20SDK%20Textzone.html
Mensajes Fri 24 Feb 23 @ 10:19 pm
thanks for the reply but the string is a single line. [it's a string variable]
I'm working with a user built string, \n after every "user building block" would be lots of lines, bigger than what I have on the Y and wasting available X [my space is X 1000 * Y 100, with text size 16]
I'm working with a user built string, \n after every "user building block" would be lots of lines, bigger than what I have on the Y and wasting available X [my space is X 1000 * Y 100, with text size 16]
Mensajes Fri 24 Feb 23 @ 10:43 pm
Add multiline="yes" on your <text /> element (not the <textzone />)
It also works on buttons.
It also works on buttons.
<textzone>
<text fontsize="12" align="center" multiline="yes" color="white" action="get_var 'mylongvar'"/>
</textzone>
Mensajes Sat 25 Feb 23 @ 3:04 am
thanks, working well, probably one for djdad to add to the sdk, I didn't see it there.
Mensajes Sat 25 Feb 23 @ 5:43 am
Is this something that could be used with labels on custom buttons?
Mensajes Wed 01 Mar 23 @ 12:15 pm
yes it can, textsize will have to be smaller to fit several lines in the zone.
Mensajes Wed 01 Mar 23 @ 12:37 pm