I am having some issues with the background around text being too large. I am trying to control the size using SetBackgroundMargins, but no matter the value I pass in, I get the same amount of background.
Here is my code. setBackground is true in my example below.
It’s hard to tell from the pic you attached because it’s so small. It looks like the text is actually the number 2 with a pinkish background.
Can you check if the variable convertedText is “2” and not " 2" (which has a space preceding the number)? Or as another test to confirm, hard-code it into the function: textKit.SetText("2");
The text was L” 2/n”. So after removing the space and the newline the text covers the symbol. Are there any good suggestion on how to insert the text so it doesn’t cover the symbol? Ideallly better ways to add in padding other than spaces.