Hi there!
I am coding an experiment using Python 3.10.12 with psychopy 2024.2.4. I am using a rating scale using the Slider class in the visual package. Because this is for an fMRI experiment (and because of some complicated monitor setup), I needed to flip everything in the experiment window upside down. However, it appears it is not possible to change the orientation of the Slider labels. I ended up coding my own workaround in the slider.py file in the “Make labels” section:
obj = TextBox2(
self.win, label, font=self.font,
pos=self.labelParams['pos'][n], size=self.labelParams['size'][n], padding=self.labelParams['padding'][n], units=self.units,
anchor=self.labelParams['anchor'][n], alignment=self.labelParams['alignment'][n],
ori=self.ori, # I ADDED THIS LINE
color=self._foreColor.copy(), fillColor=None, colorSpace=self.colorSpace,
borderColor="red" if debug else None,
letterHeight=self.labelHeight,
autoLog=False
)
Alternatively, I can also imagine adding an extra parameter to the Slider class, such as labelOri.
Perhaps somebody besides me would find this useful.
Cheers!