i am working on an experiment where I am working on a single list of words where some words are supposed to be UNDERLINED, BOLD, AND ITALIC, CAPSLOCK like (eg- CAT), and some words are supposed to be cursive, now I have made those changes in my excel sheet and called the column but somehow the only change I can see is the words are just CAPSLOCKED, no other underlining, bold or italic is showing while running the experiment, how to fix or work on this
Using a text component (not textbox) you can change the formatting dynamically.
For example:
if Capital:
text.text = item.upper()
else:
text.text = item.lower()
if Bold:
text.bold = True
else:
text.bold = False
if Italic:
text.italic = True
else:
text.italic = False
Where Capital, Bold and Italic are columns in the spreadsheet containing 0 and 1. This works locally and online.
For underline you would need a separate textbox component or a polygon to draw the line.