Log font size too small and inconsistent font size tooltip, ui label
Categories
(DevTools :: Console, defect, P5)
Tracking
(Not tracked)
People
(Reporter: alice0775, Unassigned)
Details
Attachments
(1 file)
297.43 KB,
image/png
|
Details |
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•5 years ago
|
||
About inconsistent font-sizes
Last year we fixed a bunch of issues with inconsistent font-sizes in panel content. We had 90% of our text using explicit sizes (e.g. font-size: 11px
and font-size: 11px
), and the remaining 10% inheriting system font-sizes. On macOS the system font-size was always 11px, on Linux it was 14.5px by default (and could be bigger), on Windows it seems to resolve to 12px (9pt) by default but can be set bigger too (12pt = 16px). Now everything should be small (11px and 12px).
We may still have specific issues with tooltips and menus. It would be worth testing on Windows with default system settings and with increased system font size, and see how our tooltips, context menus and other menus behave. And if things get too strange, maybe file more specific bugs.
About small font-sizes
Right now we use 11px text for code and some UI labels, and 12px text for bigger UI labels (like tabs and accordion headers). The goal is to fit a lot of content that our more-or-less expert users can glance at quickly. Of course we want to avoid being too small to read comfortably, what what "too small" means depends a lot between users and other factors.
Some solutions if text looks too small overall:
- On the user's side, zoom DevTools with Ctrl-Plus. We zoom by 10% increments (100%, 110%, 120%, 130%, etc. up to 200%). Main downside: icons can get blurry on low-resolution displays.
- On DevTools' side: we could maybe bump our base font-size from 11px to 12px; not a big increase, but already a strong impact on the whole UI.
- On DevTools' side: we could implement a preference to let users set a different base font-size, that's bug 1319367 (which doesn't have a lot of momentum).
Updated•2 years ago
|
Description
•