Cut off text on overflow

Feb 14, 2024

Hello, I'm trying to use a variable in a text box for a simulation, and I'd like to emulate the behavior of the system I'm simulating by cutting off any text that overflows the size of the text box. Unfortunately no matter what I do, the text resizes to fit the entire variable value in the text box instead of retaining the same font size and simply cutting off at the end of the text box.

I've seen where other people create scroll boxes but I don't want the user to scroll to see the full value. Also, this seems like it should be a built-in option for text boxes?

2 Replies
Paul Golightly

That's a helpful thought. I was able to take the screenshot of the interface and then "cut out" the portions where the text would go (made them transparent in just those spots), then expanded the text boxes behind the screenshot. Seems to be working. But also seems weird to have to work around that.