Using WinPython-PyGaze-0.6.0 package and trying to justify the text within its box with TextStim
Hi, I am trying to "center justify" the text within its box with TextStim. I am using the package WinPython-PyGaze-0.6.0 which uses python 2.7.3
I am unable to center justify the text within its box, (by default it is left justify...).
e.g.,
text1 = "All right, blablablabl..."
text_stim1 = TextStim(disp, text=text1, pos=(0,200), height=24, color= [0.8, -0.5, -0.5], wrapWidth=800, alignHoriz = 'center')
Note that alighHoriz adjusts the box itself, not the text
in the TextStim doc the "alingText" argument seems to do what I want but my python version does not recognize this argument.
How can I do ?
Comments
Please note that this package is using a version of Python that is no longer supported, and I would highly recommend you use a local install of a newer version instead.
A new edition of the book is on the way!