Ingreso rápido:  

Forum: VirtualDJ Skins

Tema: How do I use MULTILINE ="yes"...?
I'm creating a button which will display text and wish to show it on two lines... e.g. CLEAR PLAYLIST.

Even though multiline is set to YES, the text appears on one line.
The only way I can get it to work is to include spaces between the text to exceed the size of the button. This results in squashed lettering and looks rubbish! I have tried \n but it doesn't work...
 

Mensajes Sat 06 Jul 24 @ 1:12 pm
locoDogPRO InfinityModeratorMember since 2013
Use textaction, get_text will parse \n correctly.

<button class="button_main" x="+69+69" y="+0" action="sync" textaction="get_text 'SYNC\nTEST'" localize="true" weight=""/>
 

Mensajes Sat 06 Jul 24 @ 1:36 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
I believe it should work with format="LINE 1\nLINE2" too, but definitely not with text=""
 

Mensajes Sat 06 Jul 24 @ 1:43 pm
Perfect, Thanks!
I had to add a textaction placeholder to my button define too, but it works :)
 

Mensajes Sat 06 Jul 24 @ 1:47 pm