Hi,
I am porting code initially written on a Mac to a Dell laptop. I am using PsychoPy 3.2.4 on Python 3.7 on the laptop; PsychoPy 3.2.0 on the Mac. )
Unfortunately, the display on the laptop is all wonky and I can’t figure out why. I can fiddle with parameters to make standard text look ok on the laptop but when I call the rating scale, the scale’s text (labels or scale) are considerably offset to the left from the scale itself.
mywin = visual.Window([900, 900], monitor="testMonitor", units="deg")
myScale = range(10)
rateIt = visual.TextStim(win=mywin, text=('How real was that?'),font='', pos=(0,0),
depth=0, rgb=None, color=(1.0, 1.0, 1.0), colorSpace='rgb', opacity=1.0, contrast=1.0, units='deg',
ori=0.0, height=None, antialias=True, bold=False, italic=False, alignHoriz='center',
fontFiles=(), wrapWidth=None, flipHoriz=False, flipVert=False, languageStyle='LTR', name=None, autoLog=None)
mstart =random.choice(myScale)
ratingScale = visual.RatingScale(win = mywin, low=0, high=10, precision= 1,
pos=(0, -0.4), markerStart=mstart,acceptPreText =None,
showValue = None, showAccept = None,
#labels=("Not", "Totally"),
#textSize=0.25,
leftKeys='left', rightKeys='right',acceptKeys ='return', maxTime=5)
while ratingScale.noResponse:
rateIt.draw()
ratingScale.draw()
mywin.flip()
mywin.close()
How can I fix this?
Thank you.