PennController for IBEX › Forums › Support › Changing style of before and after text in scale › Reply To: Changing style of before and after text in scale
January 10, 2022 at 11:46 am
#7657
Keymaster
Hi Özge,
You can use the same css commands on your Text elements:
newScale(7)
.radio()
.labelsPosition("bottom")
.before( newText("left", row.answer1).css("font-size","24px").css("font-family", "Helvetica, sans-serif") )
.after( newText("right", row.answer2).css("font-size","24px").css("font-family", "Helvetica, sans-serif") )
.css("font-size","24px")
.css("font-family", "Helvetica, sans-serif")
.log()
.print()
.wait()
Jeremy