Closed Bug 308010 Opened 19 years ago Closed 18 years ago
Font size of context menus is too small
The font size of context menu of Firefox is smaller than the application etc. of OS standard. see screen shot. Mac OS X 10.3.9 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; ja-JP; rv:1.9a1) Gecko/20050911 Firefox/1.6a1
code is compared as an example with context menu of Firefox.
Summary: The font size of context menu is small. → The font size of All context menu is small.
Assignee: nobody → kevin
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is because "font: menu;" doesn't return the correct system font. In nsDeviceContextMac.cpp the constant kThemeSystemFont is used (instead of kThemeMenuItemFont). Changing the constant in nsDeviceContextMac.cpp will affect all apps and require lots of changes in themes. Mac-only themes are easy, if you need "small" menu fonts, like in Pinstripe's button.css, caption fonts could be used. The hard part is cross-platform themes that uses "font: menu;" for non-menu elements.
Summary: The font size of All context menu is small. → Font size of context menus is too small.
When the patch in bug 335683 has been checked in, "font: -moz-pull-down-menu;" can be used to get the correct font for menuitems.
Mano, you already looked at Classic today. Now it's time for Pinstripe :-). Hmm, shall I open a bug to adjust the left spacing?
Assignee: kevin → stefanh
Status: NEW → ASSIGNED
Attachment #226687 - Flags: review?(bugs.mano)
Comment on attachment 226687 [details] [diff] [review] Use the real system font for menuitems This will be fixed in bug 342515 instead.
Duping, since the issue here will be fixed in bug 342515. *** This bug has been marked as a duplicate of 342515 ***
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.