# Xml menu autosize text

**URL:** https://forum.kirupa.com/t/xml-menu-autosize-text/130461
**Category:** Uncategorized
**Created:** [December 5, 2004, 9:23am UTC](https://forum.kirupa.com/t/xml-menu-autosize-text/130461 "2004-12-05T09:23:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MsKitten](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@MsKitten](https://forum.kirupa.com/u/MsKitten)
#### Post date: [December 5, 2004, 9:23am UTC](https://forum.kirupa.com/t/xml-menu-autosize-text/130461/1 "2004-12-05T09:23:00Z")

</div>

Please could someone help me with the following. I have been through this tutorial [http://www.kirupa.com/developer/actionscript/xml\_dropdown\_menu.htm](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm) of the xml drop down menu. What I am trying to do is set the with of the buttons to the text width.  
Please could someone tell me how to do this. Thanks
