Forum Discussion
Cut off text on overflow
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?
- RobShaw-576b151Community Member
There isn't anything in the Format Shape > Text Box attributes that will do what you want.
Have you tried adding some shapes near the textbox to get the desired effect? You'd be effectively hiding the text that overflows behind the shapes.
Hope I've understood that correctly. - PaulGolightlyCommunity Member
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.