Hank,

I have a variety of situations where I want a box to be just big enough to hold its contents, and to just resize other stuff to accomodate. One of the most important reasons for this is localization. I want to support lots of languages and I dont want to have to hard code widths to get things to look the way I want. This is also true for datagrid, where I would like certain columns to be exactly what they need to be to accomodate the headertext length and other to just grow or shrink to use the remaining available space.

Set width to NaN (if using ActionScript) or remove the width attribute (if in MXML view).

Cheers,

Steve

--
Steve Webster
http://dynamicflash.com __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to