# createTextField and autoSize

**URL:** <https://forum.kirupa.com/t/createtextfield-and-autosize/103635>\
**Category:** Uncategorized\
**Created:** [March 7, 2004, 7:43pm UTC](https://forum.kirupa.com/t/createtextfield-and-autosize/103635 "2004-03-07T19:43:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flashmatazz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/flashmatazz/32/140_2.png) [@Flashmatazz](https://forum.kirupa.com/u/Flashmatazz)\
**Post date:** [March 7, 2004, 7:43pm UTC](https://forum.kirupa.com/t/createtextfield-and-autosize/103635/1 "2004-03-07T19:43:47Z")

</div>

How would I go about doing the following:

I create a textfield with AS and have to give it a certain height and width, everything is fine so far.

However, I want the textfield to expand to contain all the text I load into it.  
Problem is with the autoSize property. I want the left side of the textfield to be in a fixed position, also the textfield needs to have a fixed width, so only the bottom of the textfield should adapt.  
But how?? If I use _autoSize = true_ then it changes the width of the textfield instead of the height… ☹

Any thoughts?
