# Button Component Autosize

**URL:** https://forum.kirupa.com/t/button-component-autosize/228623
**Category:** flash
**Created:** [June 9, 2007, 7:02pm UTC](https://forum.kirupa.com/t/button-component-autosize/228623 "2007-06-09T19:02:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![K2xL](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@K2xL](https://forum.kirupa.com/u/K2xL)
#### Post date: [June 9, 2007, 7:02pm UTC](https://forum.kirupa.com/t/button-component-autosize/228623/1 "2007-06-09T19:02:15Z")

</div>

Is there any way to have a button component automatically resize to whatever size is needed based on the text? Like autosize but for button components?

It’s sort of annoying having to resize a button when I make text longer or shorter.

-Danny
