[NTG-context] return a labeltext with color...

Willi Egger context at boede.nl
Fri Jun 24 16:34:12 CEST 2022


Hi all,


Sorry for bothering you again.

I would like that lua is returning a colored string, which is a label-text.

The following does not work, the labeltext remains black, there is no error though:

return context.color({"red"},context.labeltext(s))

What is the correct approach?

Thanks for enlighten me :-)

Willi


More information about the ntg-context mailing list