RE: [flexcoders] Re: Setting percentage value by setValue

2005-05-12 Thread Sho Kuwamoto
I believe the problem is that you didn't set maintainAspectRatio="false" on the image.   Try this: http://www.macromedia.com/2003/mxml" width="100%" xmlns="*">maintainAspectRatio="false" />    From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreejithunniSent: Thu

Re: [flexcoders] Re: Setting percentage value by setValue

2005-05-11 Thread Manish Jethani
On 5/12/05, sreejithunni <[EMAIL PROTECTED]> wrote: > The "str" is a variable! that gets passed on to the cellRenderer from > the dataprovider of the datagrid. If, the value passed on is x, I want > to set the width of the image to x%. So why not do the following? colorBar.width = str + "%";