use a smaller button font size by default on Mac OS X. b=262191 r/sr=roc

This commit is contained in:
joshmoz@gmail.com 2007-06-12 14:51:10 -07:00
parent 0956b1d58d
commit e706c28243
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ nsSystemFontsMac::GetSystemFont(nsSystemFontID aID, nsString *aFontName,
case eSystemFont_Desktop: fontID = kThemeViewsFont; break;
case eSystemFont_Info: fontID = kThemeViewsFont; break;
case eSystemFont_Dialog: fontID = kThemeSystemFont; break;
case eSystemFont_Button: fontID = kThemePushButtonFont; break;
case eSystemFont_Button: fontID = kThemeSmallSystemFont; break;
case eSystemFont_PullDownMenu: fontID = kThemeMenuItemFont; break;
case eSystemFont_List: fontID = kThemeSmallSystemFont; break;
case eSystemFont_Field: fontID = kThemeApplicationFont; break;

View File

@ -872,7 +872,7 @@ nsNativeThemeCocoa::GetWidgetBorder(nsIDeviceContext* aContext,
case NS_THEME_BUTTON:
// Top has a single pixel line, bottom has a single pixel line plus a single
// pixel shadow. We say 3 for the sides so that text doesn't hit the border.
aResult->SizeTo(3, 1, 3, 2);
aResult->SizeTo(3, 1, 3, 3);
break;
case NS_THEME_DROPDOWN: