Enlarging Feedback Text

PennController for IBEX Forums Support Enlarging Feedback Text

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6512
    smithle91
    Participant

    Hello!

    I have a simple self-paced reading experiment in which participants read a sentence and then choose which of two picture best represents the sentence they just read.

    Participants receive feedback “Good job!” or “Nope!” based on the picture they select. However, the feedback text is small, so I was wondering whether there was a way to make it bigger. Here’s the relevant portion of the script:

        newSelector()
            .disableClicks()
            .add( getImage(row.LeftPicture) , getImage(row.RightPicture) )
            .keys(          "A"    ,          "B"   )
            .log()
            .wait()
            .test.selected( getImage(row.Target) )
            .success( newText("Good job!").print() )
            .failure( newText("Nope!").print() )
            ,

    Thank you!

    Lesley Smith

    #6513
    Jeremy
    Keymaster

    Hello Lesley,

    One solution is to use the css command:

            .success( newText("Good job!").css("font-size","2em").print() )
            .failure( newText("Nope!").css("font-size","2em").print() )

    Jeremy

    #6514
    smithle91
    Participant

    Thanks, Jeremy! That indeed works!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.