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
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 + "%";
2 matches
Mail list logo