> This filter needs the blank source as a rendering canvas for its 
> alphaimageloader. This loader is needed to make it possible to render 
> alpha channels in PNGs.

OK, I see that.
 
> I think the problem of the rendering is, that there is no width and 
> no height defined for the image. I've currently no idea how we can 
> fix this, because of we don't have easy access to the separate cells 
> of a listview.

Changing the example so that explicit width and height are specified solves the 
problem with the iconHTML images - it works in both IE and FF/Gecko now:

        lv1.getData().push ({
                    pubtime: { text: "2006-02-26" },
                    images:  { icon: "icons/16/thumbnail.png",
                               iconWidth:16, 
                               iconHeight:16 },
                    headline: { text: "Headline 1" }

In IE I get:

<IMG style="FILTER: 
progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../themes/icons/crystalsvg/16/thumbnail.png',sizingMethod='scale');
 VERTICAL-ALIGN: middle; WIDTH: 16px; MARGIN-RIGHT: 4px; HEIGHT: 16px" 
src="file:///D:/abling/Packages/AJAX/qooxdoo_cvs/qooxdoo/source/images/blank.gif">

That's because the code that follows is calling getIconWidth.

So there is a way of getting an image column into a ListView now - and it's the 
more powerful version. Yay!

I'll write a snippet.

Hugh


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to