Scale slider default position

PennController for IBEX Forums Support Scale slider default position

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10967
    Berit Reise
    Participant

    Hi!

    I’m having a problem with the Scale element, in particular the slider. The scale has 100 values and should display the default value of 50, so the cursor should be in the middle position of the scale at the beginning of a trial. This should also be the default setting anyway according to the documentation. However, no matter if I print it without manually setting the default or even I set default(49), it just always displays the slider with a cursor on the very right (so value 100).

    The code for the slider is like this:
    newScale(“slider”, 100)
    .slider()
    .default(49)
    .before(newText(“left”, “Very atypical”))
    .after(newText(“right”, “Very typical”))
    .print()
    .log()

    I played around but I can’t figure out why the default presentation of the slider is always with the cursor on the very right hand side. Maybe someone has a similar issue and can help!?

    Thank you very much in advance!

    Best, Berit

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.