Use multiple text colors in the same block of text

If this template helps then use it. If not then just delete and start from scratch.

OS: Windows 7
PsychoPy version: 1.90

I would like to use multiple text colors in the same block of texts. Is this possible from either Builder or Coder view?

For example: “WORD: a word in this color is a winning word
WORD: a word in this color is a losing word”
Where “WORD” needs to be in different colors on this excerpt of an instruction screen.

So far, I have tried to make multiple text components and get the texts to line up, but I have not had any success.

Please advise on how I could to this.

Thanks!

Nathan

@nhage, using multiple text components would be the way to do this. You can change the color of each text component to make the text color anything you want. In what way is this failing?

Thank you for the reply. I worked on the spacing and alignment some more and was able to get the correct effect. Thank you for the help.

Trying to solve this in a more elegant way, but it still seems like you have to create a text editor your own somehow. (or maybe import a text editor package in unity store?)