# Auto adjust text

**URL:** https://forum.kirupa.com/t/auto-adjust-text/193
**Category:** flash
**Created:** [July 9, 2002, 2:49pm UTC](https://forum.kirupa.com/t/auto-adjust-text/193 "2002-07-09T14:49:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dijon316](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dijon316](https://forum.kirupa.com/u/dijon316)
#### Post date: [July 9, 2002, 2:49pm UTC](https://forum.kirupa.com/t/auto-adjust-text/193/1 "2002-07-09T14:49:32Z")

</div>

I am trying to find a way for to allow me to automatically adjust the font size of a text filed when the text gets too large for the text field box.

I have tried to set the text field to autosize and keep track of the text box, I then watch the textWidth property. When the textWidth property gets too big, I decrease the font size. I figured the text field box would decrease thus decreasing the textWidth property, but the textWidth property increases with each new character entered.

I hope that this is clear enough.

I am a newby, so if this looks like a no brainer, please have pitty on me.

Thanks
