[Companion] Button sizes
Brian
mozdev at bkennelly.net
Mon Oct 4 17:26:49 EDT 2004
I found out that simple buttons (like the magnifier toggle) on the
toolbar were taller than menus and menu-buttons, so that was making a
difference.
I was running a slightly newer version than the current alpha, so I
didn't see the effect. After installing the alpha build, the toolbar
was 32px high, rather than the 27px I was getting with my build.
Anyway, you can reduce that by changing the first entry in
yahootoolbar.css to:
toolbarbutton.yahoobuttonmenu,
#yahootoolbar_dyn toolbarbutton
{
margin: 0px 0px 0px 0px;
}
The same effect can be achieved more efficiently by changing
class_CompanionDisplayer.js to assign a class to the buttons and using
that in the CSS. I am sending that version to Dave.
More information about the Companion
mailing list