use a smaller system font for eSystemFont_List on Mac OS X. b=262191 r=smorgan sr=roc

This commit is contained in:
joshmoz@gmail.com 2007-06-02 15:17:23 -07:00
parent dbf2ec13f7
commit b63a0df8e1
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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: {