"Using the rowHeight can solve your problem."

 

Ok, that is what I have been using, but it seems to do a poor job of
trimming the space around the list items.  I'm finding the list items
cropped from the bottom, instead a vertically centered in the rowHeight.
Is there anything one can easily do to improve this?


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

--- Begin Message ---
Ian

What exactly you have in mind? to adopt a behavior in this list.

Here's a little approach

<mx:List rowHeight="10">
    <mx:Array>
        <mx:String>Item 1</mx:String> 
        <mx:String>Item 2</mx:String>
        <mx:String>Item 3</mx:String>
        <mx:String>Item 4</mx:String>
        <mx:String>Item 5</mx:String>
    </mx:Array> 
</mx:List>

Using the rowHeight can solve your problem.



On 5/4/07, Ian Skinner <ian.skinner@ <mailto:[EMAIL PROTECTED]> bloodsource.org 
> wrote:

I have a list control in a fairly small area, I would like to tighten up 
the items in the list by removing some of the whitespace around each 
item, but I'm not getting clear results with what I have tried so far.

<mx:List
id="area"
height="60"
dataProvider="{parentApplication.areas}"
allowMultipleSelection="true"
labelField="text"
change="filterDraws()"/>







-- 
----------------------------
Igor Costa
www.igorcosta. <http://www.igorcosta.org> org
www.igorcosta. <http://www.igorcosta.com> com
skype: igorpcosta 

 

--- End Message ---

Reply via email to