Pavlovia left text alignment doesn't work

Hello,

I am in the process of uploading my experiment onto Pavlovia and I’ve encountered a text alignment issue. I’ve used a code component to left align my text in Builder using Practice_instructions.alignText = ‘left’ and it works flawlessly. However, Pavlovia still displays it centered.

I’ve had a look online and tried changing the code component to Welcome.setAlignHoriz(‘left’), however this gives the error ‘TextStim’ object has no attribute ‘setAlignHoriz’. Not sure how to fix it, can you help please?

You can use the textbox component to present text with a left alignment.

1 Like