Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Request #5833 DHTML Menu icon size is fixed, so custom icons may not display correcly
Submitted: 2005-10-31 15:11 UTC
From: phunkymunky at gmail dot com Assigned: cweiske
Status: Closed Package: HTML_TreeMenu
PHP Version: Irrelevant OS:
Roadmaps: 1.2.1    
Subscription  


 [2005-10-31 15:11 UTC] phunkymunky at gmail dot com
Description: ------------ When using custom icons along with the DHTML menu output, icons may not display correctly. This is because the icon size is fixed at 20x20px within the TreeMenu.js JavaScript library and any images which have different dimensions are resized to 20x20, distorting their appearance. Suggest removing the hard coded image size, or alternatively it could be passed to the JS library on instantiation at the server side.

Comments

 [2006-12-14 12:07 UTC] cweiske (Christian Weiske)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I removed all size settings.