Reply To: Spacing "scale" radio buttons apart

PennController for IBEX Forums Support Spacing "scale" radio buttons apart Reply To: Spacing "scale" radio buttons apart

#9751
Jeremy
Keymaster

Hi,

Use CSS to control the Scale element’s aesthetics

Another solution would be to inject some HTML in the labels:

newScale("score",   
    "<span style='margin: 2em;'>A</span>",
    "<span style='margin: 2em;'>B</span>",
    "<span style='margin: 2em;'>C</span>"
)
    .css({"font-size": "20px", "font-weight": "normal"})
    .radio()
    .labelsPosition("top")
    .print()
    .wait()

Jeremy