Se Connecter:     


Forum: VirtualDJ Skins

Sujet: can we have 90 degree text

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

or sideways text in skin?
 

Posté Sat 15 Nov 14 @ 7:07 pm
Of course :

direction="up"
 

That's not in the SDK :-)
 

had a further mess around and came up with orientation="vertical"
 

Oops, my bad sir !
 

groovindj wrote :
That's not in the SDK :-)


...but in some skins :)
 

Yes you can. I will get this added to the SDK.

I gather you've worked this out Mark, perhaps post the code for others ;-)
 

<textzone orientation="vertical">
<pos x="0" y="0" />
<size width="20" height="970"/>
<text size="15" format="`get_browsed_filepath`"/>
</textzone>
 

<textzone orientation="vertical">
<pos x="0" y="0" />
<size width="20" height="970"/>
<text size="20" action="get_browsed_filepath"/>
</textzone>

You can also use action - rather than having the ` `
 

I've just tried using this to display a limit warning down the centre of a VU meter (between the L & R bars) and found that the entire text is sideways.

What I wanted was the letters to be the correct way up, but one under the other, like:
T
H
I
S

I can use a visual instead, and put bitmap letters into the PNG file - or have a separate textzone for each letter, one below the next I suppose......

 

Use /n for new line so your text would like like this:

"T/nH/nI/nS"
 

Thanks, I'll give it a try.

[later] No, that doesn't work. It shows everything literally, including all the /n.

It works OK with separate textzones for each letter, below each other. :-)
 

[later] OOPS!!!!

It should be \n
"T\nH\I\nS"

Sorry for the confusion :)
 

and make sure the height of the textzone is big enough to fit all the lines
 



(Les anciens sujets et forums sont automatiquement fermés)