Hi

Is there anyway I can change the columns width based on the content. 
Im using a HorizontalList to display some checkbox items. I would 
like the width of the column to be based on the content so its small 
and large as needed. 

How do I get this done? This what my code looks like.
<mx:HorizontalList dataProvider="{ModelLocator.getInstance
().rpsyManager.formatTypes}"  
    borderStyle="none" horizontalScrollPolicy="off" 
labelField="@name" width="100%">
    <mx:itemRenderer>
        <mx:Component>
        <mx:CheckBox label="{XML(data)[EMAIL PROTECTED]" width="100%"
              selected="{XML(data)[EMAIL PROTECTED] == true}"
              click="outerDocument.selectFormat(XML(data), CheckBox
(event.target).selected)">
        </mx:CheckBox>
        </mx:Component>
   </mx:itemRenderer>
</mx:HorizontalList>









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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to