Yes and 360Flex in San Jose

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of lelander
Sent: Tuesday, July 22, 2008 12:06 PM
To: [email protected]
Subject: [flexcoders] Re: Aligning images in TileList itemRenderer

 

You are my hero. That was it, pretty much!
1000 thank yous! Will you be at MAX?
JP

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I think you can just do
> 
> 
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Image xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> 
> <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > "
> verticalAlign="bottom" 
> height="250" width="100">
> 
> and set the TileList's labelField="product_image"
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of lelander
> Sent: Tuesday, July 22, 2008 8:01 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Re: Aligning images in TileList itemRenderer
> 
> 
> 
> 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
<http://www.adobe.com/2006/mxml> 
> <http://www.adobe.com/2006/mxml <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 [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> 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: [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of lelander
> > Sent: Saturday, July 19, 2008 3:05 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.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 [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.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: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > ] On
> > > Behalf Of lelander
> > > Sent: Friday, July 18, 2008 6:56 PM
> > > To: [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.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