Textbox2 Changing letterHeight Fails

This is on psychopy 2026.1.3

I’m trying to change the LetterHeight property of a TextBox2 object, and it simply doesn’t do anything. Doing object.letterHeight = 500 and object.setLetterHeight(500) both simply do nothing for me. Am I doing something wrong, or is this just how TextBox2 works? I can always create a new object when a different size is needed, but of course this isn’t preferred.

Minimal example:

from psychopy import visual, core

win = visual.Window(size=(800, 800), fullscr = False, units='pix')

tb = visual.TextBox2(win, text='HELLO', letterHeight=50)

tb.draw()
win.flip()
core.wait(2)

tb.letterHeight = 500
#tb.setLetterHeight(500)

tb.draw()
win.flip()
core.wait(2)

Confirmed as is. If you need an immediate work around, just re-do the visual.TextBox2 …

I fiddled with making sure numpy was loaded because the letterHeight is a numpy.float64()