psychopy.org | Reference | Downloads | Github

Label Wrap Width does not work online

I would like to make a slider whose labels wrap around onto new lines so as not to overlap. While the labelWrapWidth parameter accomplishes this in Python, PsychoJS doesn’t seem to allow it.

I think the labels constructor in visual_Slider.js could be modified to include the wordWrap and wordWrap parameters as in visual_TextStim.js. But in the meantime, is there a workaround that I could do myself?