Closed
Bug 859396
Opened 13 years ago
Closed 12 years ago
Toolbox buttons should enlarge to fit longer strings if space is available
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: flod, Assigned: shorlander)
Details
Attachments
(1 file)
|
1.11 MB,
image/png
|
Details |
See the attached screenshot: the second button from the left doesn't display the whole label ("Analisi pagina"), even if there's still a lot of space available.
I tried to take a look at the code, but I didn't find anything useful (like a max-width).
To be honest I noticed this problem only a few days ago, not sure when it started or if I just missed it before.
Comment 1•13 years ago
|
||
The buttons were multiple widths originally but we were told to make them the same width and just a little larger than the longest tab name. Unfortunately, to do that we have to use a hardcoded width.
Assigning this to UX to see what they think we should do.
Assignee: nobody → shorlander
| Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #1)
> Unfortunately, to do that we have to use a hardcoded width.
You can always expose that width as a localizable value (e.g. http://hg.mozilla.org/mozilla-central/file/64d6d002e888/browser/locales/en-US/chrome/browser/downloads/downloads.dtd#l26).
Unfortunately it would mean wasting a lot of space for shorter buttons (like "network"), so it would be preferable to just have a variable width to fit the label.
| Reporter | ||
Comment 3•12 years ago
|
||
Marking as WORKSFORME, since I don't see this problem in current builds.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•