diff --git a/gfx/src/thebes/nsSystemFontsMac.cpp b/gfx/src/thebes/nsSystemFontsMac.cpp index 7c34881a1b22..69357846a2cd 100644 --- a/gfx/src/thebes/nsSystemFontsMac.cpp +++ b/gfx/src/thebes/nsSystemFontsMac.cpp @@ -142,7 +142,7 @@ nsSystemFontsMac::GetSystemFont(nsSystemFontID aID, nsString *aFontName, case eSystemFont_Dialog: fontID = kThemeSystemFont; break; case eSystemFont_Button: fontID = kThemePushButtonFont; break; case eSystemFont_PullDownMenu: fontID = kThemeMenuItemFont; break; - case eSystemFont_List: fontID = kThemeSystemFont; break; + case eSystemFont_List: fontID = kThemeSmallSystemFont; break; case eSystemFont_Field: fontID = kThemeApplicationFont; break; // moz case eSystemFont_Tooltips: fontID = kThemeSmallSystemFont; break; diff --git a/widget/src/cocoa/nsNativeThemeCocoa.mm b/widget/src/cocoa/nsNativeThemeCocoa.mm index b4849e547c79..3f4694a04c7a 100644 --- a/widget/src/cocoa/nsNativeThemeCocoa.mm +++ b/widget/src/cocoa/nsNativeThemeCocoa.mm @@ -875,7 +875,7 @@ nsNativeThemeCocoa::GetWidgetBorder(nsIDeviceContext* aContext, case NS_THEME_DROPDOWN_BUTTON: // We need to shift the text up a single pixel. For native form control drawing, // the borders need not actually reflect the size of the drawn border. - aResult->SizeTo(kAquaDropdownLeftBorder, 0, kAquaDropdownRightBorder, 1); + aResult->SizeTo(kAquaDropdownLeftBorder, 1, kAquaDropdownRightBorder, 1); break; case NS_THEME_TEXTFIELD: {