Displaying a variable on the screen resizes the font? SL2 Upd5 issue?

May 20, 2015

Hi There,

Maybe I'm missing something but when I add text to a variable using a text entry field and display it on a next slide the font resizes even though the text box is set to resize when the content is larger than the text box.

Is this a bug or am I doing something wrong?


8 Replies
Ashley Terwilliger-Pollard

Hi Jeff, 

You may find that text changes size when it includes a variable reference, depending on the length of the variable's current value. This is by design to ensure that the text is always visible to learners, no matter how lengthy it is.

For example, let's say you're using a variable to display text, then you update the variable with new text at a specific point on the timeline or during an interaction. Depending on the length of the text, it may shrink to fit within its container.

To avoid shrinking variable text, make the text box big enough to accommodate the longest variable value.

Jeff Kortenbosch

Ash, thank you for your explanation. I get what you're saying but it seems to me this is exactly why we've got the various text box options to resize the shape, text or nothing at all. That feature combined with the scroll box makes this completely autoresize completely unnecessary. I'd like to submit an 'unfeature' request! 😀

Steve Flowers

Hey Jeff, 

What I end up doing is adding a shape with a really large size to a scrolling panel. The text won't shrink to fit the box if the box is large enough. The downside is the scrolling panel will always have a sizeable scroll to it depending on how big your "text dumptruck" within the panel is even when there isn't any text.

I tried a few other things back in SL1 to solve this. This was the only solution that came close to being tolerable.

This discussion is closed. You can start a new discussion or contact Articulate Support.