diff options
author | Derrell Lipman <derrell@samba.org> | 2007-02-06 20:57:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:44:44 -0500 |
commit | 37986668042d75dc8ca1c20a690b5873c52f3211 (patch) | |
tree | fc501e59180cbe7707283a59f1c12acb5265b951 /webapps/qooxdoo-0.6.5-sdk/frontend | |
parent | 2342219d699eb17d48a2b31c297121a158ba85d0 (diff) | |
download | samba-37986668042d75dc8ca1c20a690b5873c52f3211.tar.gz samba-37986668042d75dc8ca1c20a690b5873c52f3211.tar.bz2 samba-37986668042d75dc8ca1c20a690b5873c52f3211.zip |
r21185: Fix PNG images in TreeVirtual, for when using IE
(This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084)
Diffstat (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend')
-rw-r--r-- | webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js | 10 |
1 files changed, 8 insertions, 2 deletions
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 |