PennController for IBEX › Forums › Support › Printing NewText with parts of the text colored/bolded › Reply To: Printing NewText with parts of the text colored/bolded
February 13, 2023 at 6:07 pm
#9928
Jeremy
Keymaster
Hi Kate,
You can use HTML in Text elements, like this:
newText("Please press<br><span style='color:green;margin-right:5em;'><strong>F</strong> for <strong>YES</strong></span> <span style='color:red;'><strong>J</strong> for <strong>NO</strong></span>")
Jeremy