toolbarbutton's should have flex specified in css

NEW
Unassigned

Status

()

Core
XP Toolkit/Widgets: XUL
7 years ago
7 years ago

People

(Reporter: wesj, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
We've run into a couple places in Fennec CSS where we've wanted to use a toolbar button that has its label and icon centered in the middle of the button (for instance, the "New Tab" buttons). I haven't been able to use toolbarbuttons here because the toolkit definition has flex set on the label:

http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/toolbarbutton.xml#14

We should specify this in CSS so that its easier to override for odd cases.
You need to log in before you can comment on or make changes to this bug.