# Dynamic Size in Dynamic text Box

**URL:** <https://forum.kirupa.com/t/dynamic-size-in-dynamic-text-box/302375>\
**Category:** flash\
**Created:** [December 29, 2009, 2:37am UTC](https://forum.kirupa.com/t/dynamic-size-in-dynamic-text-box/302375 "2009-12-29T02:37:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruiganga](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ruiganga/32/3679_2.png) [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Post date:** [December 29, 2009, 2:37am UTC](https://forum.kirupa.com/t/dynamic-size-in-dynamic-text-box/302375/1 "2009-12-29T02:37:11Z")

</div>

HI

I am adding buttons to the stage using addchild. Inside my MC I have a dynamic text box.

My problem is to set the size of the dynamic text box. If I put it to large all the text fits there but the buttons become very far from each other in some small text button names. If i use small dynamic textfields the text is cutted.

Any idea on how to solve this?
