Thanks Alex.  Can you tak a look at the code in the renderer and tell
me if there's anything I should change?

==========
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml";
        horizontalScrollPolicy="off" 
        verticalScrollPolicy="off" 
        height="250" width="100">
        
                <mx:Image source="assets/{data.product_image}" 
                        width="100" verticalAlign="bottom"/>

</mx:HBox>
==========

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> No, the dimensions of each renderer will be the same.  You can tweak
> where the image is displayed if it is too small, but if it is too large,
> it'll probably just overlay something else.
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of lelander
> Sent: Saturday, July 19, 2008 3:05 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Aligning images in TileList itemRenderer
> 
>  
> 
> HI Alex,
> I'm using TileList. Can the image be contolled within the renderer so
> that it appears that 
> the images work with different heights, even though the renderer (vbox
> in my case) is the 
> same size?
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > A tileLists renderers must all be the same width/height. Are you using
> > List or TileList?
> > 
> > 
> > 
> > ________________________________
> > 
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of lelander
> > Sent: Friday, July 18, 2008 6:56 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Aligning images in TileList itemRenderer
> > 
> > 
> > 
> > Hello!
> > I'm working on an app that allows users to drag variable height images
> > from a List onto a 
> > shelf; think of it as something like variable height spines of books
> on
> > a shelf. All the widths 
> > can be the same. Can I align the images to bottom in my custom mxml
> item
> > renderer? When 
> > I set verticalAlign="bottom" in the item renderer, the images cut off
> in
> > the TileList.
> > 
> > Thanks in advance for any insights you can give.
> > JP
> >
>


Reply via email to