Rich text not fully formatting in plugin

I have a richtext enabled TextLabel with a uistroke under it and it doesn’t fully format
image
image

I think i have included al relevant info, I rarely use RichText so this may be a simple problem

1 Like

Hello, Can you tell me what the Rarity Text is?

1 Like

What do you need to know about the rarity textlabel?
The text is “<stroke>Common”
The “<stroke>” is added by a script because im lazy

1 Like

this is how its written
image
(image cause it gets hidden)

1 Like

I tried with and without “<\stroke>” appended at the end and it still wont format
Both ways the stroke applies, however

1 Like

idk how you define your text but like i said you would write it like this:

Rarity.Text = "<stroke> Common </stroke>"
1 Like

Well, because you have a UI stroke, you don’t need to have <stroke> in the first place.

1 Like

the ui stroke does not appear without it, I’m using richtext

1 Like


I just discovered this about my issue. Both of these are identical, RichText enabled and all, but their strings are different
The one on the left is “This is rich text” but ignores the uistroke
The one on the right is “<This is rich text” which doesn’t ignore the uistroke, but also isn’t really big (which is why i want rich text)
Might help, but for now i will try to use a script to substitute the UIstroke for the richtext equivalent.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.