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)

22 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: flod, Assigned: shorlander)

Details

Attachments

(1 file)

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.
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
(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.
Marking as WORKSFORME, since I don't see this problem in current builds.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: