mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
use a smaller button font size by default on Mac OS X. b=262191 r/sr=roc
This commit is contained in:
parent
0956b1d58d
commit
e706c28243
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user