Forum Discussion
text box isn't readable when content is created in JS
I'm away from my desk at the moment, so can't check your source file. It sounds like you need to turn off the 'resize text' setting in your text box. You may also find using an invisble shape, rather than a text box, gives you better control in these circumstances. Sounds like your text is too long/big for the text box.
But if your text doesn't resize, you run the risk of it spilling out of the display area. So I recommend testing your longest possible JS-generated output and sticking to a rough character count based on your font choice and font size.
That's what I did here with JS-generated text.
Hi posting again but this time in a reply, I tried to turn off resize text before uploading it here but it didn’t work
- Jonathan_Hill24 days agoSuper Hero
I seemed to solve the same issue on my design by using a transparent shape as a text box instead.
I'd also recommend establishing how many characters the shape/text box can hold in each line, and how many lines 'deep' the shape is versus your font height.
For instance, if you're using a 24pt font, you're going need at shape at least 48pt high to display two lines.
Javascript generated text will start to dynamically resize when it becomes too 'wide' and/or too 'deep' for the area it's being displayed in.