> I've added a fix to QxListViewContentCellImage. > > Seems that both views are now correctly rendered.
They're correct in FF/Gecko with latest CVS code.
However, in IE6 I get no images in the iconHTML (left hand side) and just dots
in the image (right hand side).
Looking at the actual XML in IE I see this for an image on the left:
<IMG style="FILTER:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../themes/icons/crystalsvg/16/thumbnail.png',sizingMethod='scale');
VERTICAL-ALIGN: middle; MARGIN-RIGHT: 4px"
src="file:///D:/abling/Packages/AJAX/qooxdoo_cvs/qooxdoo/source/images/blank.gif">
I'm not familiar with the FILTER style - is it something that IE adds? However,
it's interesting that it has the correct path to the image, whereas the src=
entry has the old path.
This appears to be a bug in QxIconHTML._syncHTML - the code explicitly puts the
blank image in if the browser is IE:
vHtml.push(QxImageManager.buildUri(this._mshtml ?
QxConst.IMAGE_BLANK : this.getIcon()));
I don't know why that was explicitly done, so I'm not confident of fixing it.
However, a patch is attached that might do the job - simply always using
this.getIcon().
For the images on the right I get:
<IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; FILTER: ; VERTICAL-ALIGN: top;
BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=1
src="../../themes/icons/crystalsvg/16/thumbnail.png" width=1>
Hence the source of the dots. The correct path is here but the size is wrong.
I'm looking at this but if you can see the obvious, Sebastian...
Hugh
qx_iconhtml_patct.txt
Description: Binary data
