#Noob here! - Writing vertically

16 messages · Page 1 of 1 (latest)

orchid stag
#

Hi! Is there a way to take a text-label and make it write it's content vertically? The current label is in a HBoxContainer.
Alternatively I could just rotate the label, but I'm not sure how to make that work within the HBoxContainer?

rancid crag
#

There's a v box container

orchid stag
#

Putting it in a VBox container doesn't seem to be making the text go vertical unfortunately. I want the text to either go like this:
E
X
A
M
P
L
E

or just rotate the normal string 90 degrees

rancid crag
orchid stag
#

Either one of them really 😂

rancid crag
orchid stag
#

Wait what, when I tried that the rotation was locked?

rancid crag
#

¯_(ツ)_/¯

orchid stag
#

It must inherit some sort of rotation lock, not sure where tho

rancid crag
#

Oh I see

#

it's because you are trying to rotate the label which is dependent on the VBoxContainer

#

I rotated the container

orchid stag
#

I see! Unfortunately that's not possible for me since it's already under another container 🤔

glad mortar
#

So, I just did this and you might find it useful. You set the autowrap to "arbitrary" and then you make your label thin enough for only one character per line, and you can force it to to this:

#

Since yours is in a container, you'll need to ensure that the layout/container sizing setting for horizontal is shrink begin, shrink center or shrink end.