PennController for IBEX › Forums › Support › Spacing "scale" radio buttons apart › Reply To: Spacing "scale" radio buttons apart
November 30, 2022 at 12:15 pm
#9751
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