# Textfield positioning

**URL:** https://forum.kirupa.com/t/textfield-positioning/270377
**Category:** flash
**Created:** [September 9, 2008, 11:20am UTC](https://forum.kirupa.com/t/textfield-positioning/270377 "2008-09-09T11:20:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RebuiltJorge](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)
#### Post date: [September 9, 2008, 11:20am UTC](https://forum.kirupa.com/t/textfield-positioning/270377/1 "2008-09-09T11:20:17Z")

</div>

ok so I have a class called CustomMessage, this is a sprite that houses a text field, I have a box that is supposed to hold the CustomMessage sprite. The content that is generated for the CustomMessage is random in width and height. I find that whenever the height for the CustomMessage textfield is increased, the CustomMessage sprite moves higher up and sometimes off the screen. How can I get a fixed height so that the text to expand down and I can add whatever I want.
