I’m using Psychopy v2020.2.4 - I’m trying to set the alignment of my text to either ‘left’ or ‘center’, depending on the content of the text. Right now, I have:
Text1.setColor(Text_Color, colorSpace='rgb') Text1.setPos(Text_Position) Text1.setText(Text) Text1.setHeight(Text_Size) Text1.setAlignText(Align)
Where Text_Color, Text_Position, Text, Text_Size, and Align are variables in an excel sheet. The task loads all of the other information correctly, but does not seem to update the alignment (the text is always displayed as center-aligned). The Align column in my excel file contains either [‘left’] or [‘center’].