svn commit: samba r21185 - in branches/SAMBA_4_0/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual: .

derrell at samba.org derrell at samba.org
Tue Feb 6 20:57:23 GMT 2007


Author: derrell
Date: 2007-02-06 20:57:22 +0000 (Tue, 06 Feb 2007)
New Revision: 21185

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21185

Log:
Fix PNG images in TreeVirtual, for when using IE
Modified:
   branches/SAMBA_4_0/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js


Changeset:
Modified: branches/SAMBA_4_0/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js
===================================================================
--- branches/SAMBA_4_0/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js	2007-02-06 20:07:29 UTC (rev 21184)
+++ branches/SAMBA_4_0/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js	2007-02-06 20:57:22 UTC (rev 21185)
@@ -115,7 +115,9 @@
         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 @@
                   : "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



More information about the samba-cvs mailing list