Reputation: 2476
I have a Firefox extension with a toolbarbutton which when clicked displays a panel, I achieve this by setting its type to either "menu" or "panel". My problem is this type of button does not style in the same way as a standard button (a downwards arrow is displayed to indicate it can be expanded). Setting class="toolbarbutton-1" causes the button to appear almost correctly on Windows, but on Linux the icon is far too tall. My extension is available including the source at https://addons.mozilla.org/en-us/firefox/addon/tabcloud/ if that is useful.
My question is how should I style the toolbarbutton so it displays identically and with the correct height on all operating systems.
Upvotes: 4
Views: 1073
Reputation: 55402
So you want your button to look like one of the standard Firefox buttons? Sadly only one of the standard Firefox buttons use type="menu", and for some reason known only to themselves they worked around their own bug here, here and again here... I suggest you do the same in your own CSS.
Upvotes: 3