I have tried to centering icons but, with external css (render.css), they doesn't appear aligned vertically in some browsers, due probably to syntax error or coding error of CSS template (Garland, Minelli etc.). Then i wrote css inline.
I have rewrote some lines of render.module.

Line 152:
$img_edit = theme('image', $renderdir .'/images/editor.gif', t(''), t(''), array('style' => t('vertical-align:text-bottom')));

Line 153:
$img_duplicate = theme('image', $renderdir .'/images/copy.gif', t(''), t(''), array('style' => t('vertical-align:text-bottom')));

Line 154:
$img_delete = theme('image', $renderdir .'/images/delete.gif', t(''), t(''), array('style' => t('vertical-align:text-bottom')));

Line 244:
$delimg = theme('image', drupal_get_path('module', 'render') .'/images/delete.gif', t(''), t(''), array('style' => t('vertical-align:text-bottom')));

Line 250:
l($delimg, 'admin/settings/render/deletefont/'. urlencode($file), array('title' => t('Delete')), NULL, NULL, FALSE, TRUE),

I have redesigned icons from PNG 32Bit to Transparent GIF and changed the delete icon with X. With this method they aren't problems with IE6 PNG 32bit support.

Tested with IE6, IE7, Firefox2.x.

CommentFileSizeAuthor
editor.gif369 bytesMaximG
delete.gif355 bytesMaximG
copy.gif351 bytesMaximG
render.module.patch2.1 KBMaximG

Comments

sun’s picture

Title: Now icons are vertically centered » Vertically center admin icons
Component: Miscellaneous » User interface
Status: Reviewed & tested by the community » Needs work

Sorry for coming back late to you.

- We should be able to add and apply these styles via render.css.
- The icon files itself won't change, because they are from the Tango project. IE6 sucks anyway, and I highly doubt that any site admin is using an old browser like this.
- Your patch removes the text links. Was this intentional? If so, why?

sun’s picture

Status: Needs work » Closed (won't fix)

Sorry, I do not have issues with the current output and it does not seem that you want to re-work your patch.