From 37986668042d75dc8ca1c20a690b5873c52f3211 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Tue, 6 Feb 2007 20:57:22 +0000 Subject: r21185: Fix PNG images in TreeVirtual, for when using IE (This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084) --- .../class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend') diff --git a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js index 7ae55277fe..ab217f750d 100644 --- a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js +++ b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js @@ -115,7 +115,9 @@ qx.Proto._getContentHtml = function(cellInfo) this.STATIC_IMAGE_URI + "blank.gif" + '" style="filter:' + "progid:DXImageTransform.Microsoft.AlphaImageLoader(" + - " src='" + urlAndToolTip.url + "',sizingMethod='scale')"; + " src='" + + Am.getInstance().resolvePath(urlAndToolTip.url) + + "',sizingMethod='scale')"; } else { @@ -177,7 +179,11 @@ qx.Proto._getContentHtml = function(cellInfo) : "icon/16/places/folder.png"); } } - html += addImage({ url:imageUrl }); + html += addImage({ + url : imageUrl, + imageWidth : 16, + imageHeight : 16 + }); // Add the node's label. We calculate the "left" property with: each tree // line (indentation) icon is 19 pixels wide; the folder icon is 16 pixels -- cgit