# Resize TextField without scaling text

**URL:** <https://forum.kirupa.com/t/resize-textfield-without-scaling-text/265489>\
**Category:** Uncategorized\
**Created:** [July 9, 2008, 3:46pm UTC](https://forum.kirupa.com/t/resize-textfield-without-scaling-text/265489 "2008-07-09T15:46:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bferster](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@bferster](https://forum.kirupa.com/u/bferster)\
**Post date:** [July 9, 2008, 3:46pm UTC](https://forum.kirupa.com/t/resize-textfield-without-scaling-text/265489/1 "2008-07-09T15:46:36Z")

</div>

I am try to resize a TextField object, but don’t want the text inside to scale, just the container. Anyone know how to do this?

Thanks!

-Bill

---

<div class="post-metadata">

**Author:** ![shaji](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shaji](https://forum.kirupa.com/u/shaji)\
**Post date:** [July 10, 2008, 7:35am UTC](https://forum.kirupa.com/t/resize-textfield-without-scaling-text/265489/2 "2008-07-10T07:35:44Z")

</div>

Bill, do you want to increase area of text being displayed?

If so

```auto

var tx:TextField = new TextField();
addChild(tx);
tx.height = requireValue;
tx.width = requireValue;

```

If this is not what you want, please elaborate.
