Labels are not appearing on slider in Builder

OS (e.g. Win10):
Windows 11


PsychoPy version (e.g. 2024.2.4 Py 3.8):
2024.x (Standalone Builder version — exact minor version from Help → About PsychoPy)


Standard Standalone Installation? (y/n) If not then what?:
Yes (Standalone installation)

Do you want it to also run online? (y/n)
No (desktop experiment only)

What are you trying to achieve?:

I am using a PsychoPy Builder Slider component to collect Likert-style responses (e.g. “Not at all” → “Completely”). I want the slider to display labelled response options evenly spaced along the scale.

What did you try to make it work?:

In the Slider component (Builder), I set:

  • Labels field to:
    Not at all;Slightly;Moderately;Very;Completely
  • Slider style: default/rating style
  • Checked that:
    • “Show labels” is enabled
    • Slider has tick marks corresponding to 5 points
    • Experiment uses pixel units (pix)

I also tested different formatting attempts including:

  • comma-separated labels (did not work)
  • varying label counts matching ticks

What specifically went wrong when you tried that?:

The slider appears and functions (participants can respond), but no labels are visible on the screen.

  • Slider line and marker display correctly
  • Click response is recorded
  • BUT all label text is missing

I also tested:

  • changing label text colour (no effect)
  • adjusting size and position (no effect)
  • simplifying labels (A;B;C;D;E) (still not visible)

So the issue seems specific to label rendering rather than slider functionality.

Error message (if any): None

I basically have this exact problem summarised here but the poster didn’t show the fix.

Labels are not appearing on slider - Builder - PsychoPy

Thanks..!

If you use pixels, the text size and slider itself, will be sized to pixels. Use height, or better yet degrees, to make sure it’s visible. Below is using degrees:

w/h = (20,3)

letter size = 0.5

Also, your label field should be labelled like this.

When trying to use semicolons, or without quotations, it just crashed, so I am not sure how yours was able to run.

Can you provide a screenshot of your slider options window if trying the above does not work?

Issac

Isaac,

Thank you for your reply.

Have since changed everything, meaning in Experiment Settings, to Height.

Overall Routine:

Slider Properties:

The slider should appear where the white dot is

Hello @Nathan1

It might be that you simply present your labels outside of the screen. For testing set the x-y coordinates to something like 0.0 0.0 which is the centre of the screen The unit height specifies everything relative to the height of the monitor. See here Units for the window and stimuli — PsychoPy®

Best wishes Jens

Yea, I would agree with this assessment somewhat as their position variable is a some value on an excel sheet. I would try the 0,0 and then see what shows up.

What’s weird is that they state they can see the slider, and it is working properly. If the labels were offscreen due to position (and not size), wouldn’t the slider itself extend off screen to some degree as well?