OS: MacOS Catalina
PsychoPy version (v 2020.1.2
Standard Standalone? (y/n) Y
What are you trying to achieve?:
I have to use the slider response for my participants and was wondering if there was anyway to customise what the slider looks like. Ideally it would look like the image below:
From what I have tried I can only change the labels. Not sure how to change the colouring of the slider or whether it is possible to add images on either side of the slider? Though, thinking about it now, I could probably just put the bird images on the page as a separate ‘stimuli’ and position them accordingly around the slider?
Any help will be greatly appreciated!
For adding images, what you suggest is exactly what I would do - add the images as Image components either side of the slider. At the code level, you could probably set the Slider’s background colour to be a gradient, but in Builder we just use pre-set styles. I think the best solution would be to set the slider style to “rating” so that it’s just a set of lines, then add an image of the gradient you want as an Image component in the same position. Make sure that the slider is below the image on the Routines window, so that it is rendered in front of the image.
hi! did you figure out how to make the colors?
@Lauren_Addamo , see this post for customising your slider line using an image.