Question: Adjust text size to fit SKLabelNode with fixed width

Question

Adjust text size to fit SKLabelNode with fixed width

Answers 0
Added at 2016-12-24 18:12
Tags
Question

New to Spritekit and trying to fix the width of a SKLabelNode and then adjust the font of text to fit within the node accordingly.

Have been looking through the docs but cant seem to find anything suitable, like the UILabel function:

A UILabel.adjustsFontSizeToFitWidth = true

Thanks

Answers to

Adjust text size to fit SKLabelNode with fixed width

Source Show
◀ Wstecz