RichText [TextScaled Support Added]

this is AMAZING! Its hard to make text different to each other without this feature, ty!

One of the best updates for Roblox Studio! Now text can look more better and easier considering before, you had to do textbox by textbox. Now it can all be in one textbox! This is really useful!

Now this, is epic. Thank you Roblox this is so cool and I’ll use this.

Sick! Always wanted to do something like this :smiley:

One of the things we needed for UI! Nice work Roblox!

I made a live syntax highlighter!


It’s somewhat inefficient as it recalculates the tags every single time you type a new letter, though its a nice proof of concept.
Most of the issues are caused by Rich Text limitations, like not allowing double line breaks.

18 Likes

Any idea when we can embed texts that we have installed on our systems? Sort of how Adobe applications feature fonts? Or is that a while down the road due to copyright infringements being a main issue. A main way around it would be to provide us with a ever-growing list of none CC fonts.

Interesting Fuction, But too sad that is beta

1 Like

Out of curiosity, what method did you use to enable RichText in the chatbox?

Initially, I tried using a TextLabel which is edited whenever you type and making the Chat’s TextBox’s text invisible, but this removes the highlight cursor in the text.

Then, I tried overlaying a TextLabel over the Chat’s TextBox, and then overlaying an additional TextBox to capture the focus, and this worked for the most part… but there would eventually be weird formatting errors, and the texts would offset from one another.

Neither of these methods really accomplish this well, because their are bugs which are unfixable. What method did you use?

1 Like

A variation of your second method, but while actively manipulating TextTransparency based on context.

2 Likes

Excellent update!

This is so hope full, thanks!

Love this I’m looking out for the full release. I love being able to use an html style format it’s nice and simple.

Plus anyone who doesn’t know how to do this could easily learn this within five minutes is the nice part.

Easy, clean, and good looking. Great job roblox. :+1:

You have no idea how long I have been waiting for this update. I hate having to add multiple text labels just to make it bold.

1 Like

Can’t believe! Finally, thanks

1 Like

This is a brilliant feature! Not only does it give me more customisation options, but I will no longer have to use two textlabels to put some text in bold or a different colour.

Full support here. I mean imagine being someone who has no idea how HTML works, and they HAVE to research to get what they want on their text. This overall would just make RichText so much more user friendly.

Setting RichText to true when using TextScaled makes the font take the size of TextSize instead of scaling like normal. I understand that having TextScaled and a size tag wouldn’t work in the usual way what with the different sizes and all, but if I don’t use any size tags it would be nice for TextScaled to take effect once again.

Before:
image
After:
image

All my text has become really small ᗡ:

1 Like

This is great! no more time wasted on extra scripts!

Is there a way to check the actual TextBounds with RichText on?
Currently TextBounds is calculated with all the tags
I tried making chat work with RichText, but because of that, this happens:
image
With RichText off:
image

EDIT: Nevermind, TextBounds gets calculated correctly, the chat is just weird
Does anyone know how to make this work properly?

1 Like

I’m pretty sure roblox chat calculates the size by using TextService:GetTextSize, and I read that while using RichText, it wouldn’t be calculated properly