xMagmaDev
(Terrainny)
July 27, 2020, 9:07pm
#1
If the title sounded a bit vague, I am sorry. I will try to reiterate it. Say if I wanted to type in YouTube and wanted the “You” to be white and the “Tube” to be red. How would I accomplish this without using multiple TextLabels.
Try using Rich Text. You can enable it from Beta Features.
[Update Dec-02-2020]
[Update Sep-17-2020]
What is RichText?
Rich text uses simple markup tags to style individual words or phrases within a single string of text. Initially, we will provide font size, color, bold, italics, underline and strikethrough.
We plan on adding additional style options in future updates.
How do I use it?
First of all, enable rich text beta feature in studio.
Enable the Beta Feature To enable the beta feature:
Go to File - Beta Features in studio
Check the …
un1ND3X
(ice)
July 27, 2020, 9:15pm
#3
TextLabel.RichText = true
TextLabel.Text = "<font color = '#ffffff'> You</font><font color = '#ff0000'>Tube</font>"
Enable RichText (from beta features as well) and let it work.