# Dynamic Text autoSize

**URL:** <https://forum.kirupa.com/t/dynamic-text-autosize/136228>\
**Category:** Uncategorized\
**Created:** [February 3, 2005, 5:37am UTC](https://forum.kirupa.com/t/dynamic-text-autosize/136228 "2005-02-03T05:37:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![purefx](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@purefx](https://forum.kirupa.com/u/purefx)\
**Post date:** [February 3, 2005, 5:37am UTC](https://forum.kirupa.com/t/dynamic-text-autosize/136228/1 "2005-02-03T05:37:56Z")

</div>

Hey guys,

I have a dynamic text box loading text from a txt file. When I initially created my scrollbar, I used dynamic text but didn’t load from a text file and the scroll works great. However, leaving the dynamic text box the same size but leaving it empty so it can load the txt file, I run into an issue of a lot of blank space when using the autoSize property set to “center”. However, if I reduce the dynamic text box size down the text loads in and it is MICROSCOPIC. So if anyone has a better idea of doing this I would be greatly appreciative. Also, I’ve embedded the font, so the mask has no problem displaying the text properly. Thanks!
