URL of experiment: Pavlovia
Description of the problem: I am trying to change letter spacing property of texts created via text components. I managed to increase and decrease the spacing a couple of times with the code below. However, it stopped working after sometime. Any ideas as to how to change letter spacing in Pavlovia?
Code below is used in “each frame” tab of a code component.
textComponent._pixi._style._letterSpacing = 50 (this worked on its own a couple of times)
When stopped working I’ve started to use the code below, which does not work yet.
textComponent._pixi._style._letterSpacing = 50
textComponent._textMetrics.style._letterSpacing = 50