Text Scaling

Up until now I have been scaling text using the scale attb, which scales the text both ways.

Is there a way to set Text Width and Text Height separately?

Not sure the context you’re talking about, but if you’re talking about DirectGui the syntax is:

text_scale = (x, 1, y)

If you’re just talking about a NodePath in general the syntax is:

node.setScale(x, 1, y)


I’m talking about plain onscreen text attached to render2d (textnode)