From d88c79dfcb6d7fe424b01f8def2824081b060081 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Sat, 29 Aug 2009 05:53:49 +0000 Subject: Use Lucida Grande instead of Helvetica for "Show all downloads..." link in download shelf. BUG=20343 TEST=Look at it. Review URL: http://codereview.chromium.org/173621 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24854 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/nibs/DownloadShelf.xib | 10 +++++----- chrome/browser/cocoa/download_shelf_controller.mm | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/chrome/app/nibs/DownloadShelf.xib b/chrome/app/nibs/DownloadShelf.xib index fd17c97f..9d05154 100644 --- a/chrome/app/nibs/DownloadShelf.xib +++ b/chrome/app/nibs/DownloadShelf.xib @@ -2,9 +2,9 @@ 1050 - 9J61 + 9L31a 677 - 949.46 + 949.54 353.00 YES @@ -84,7 +84,7 @@ 2322 - {182, 12} + {182, 14} @@ -284,7 +284,7 @@ - {182, 14} + {182, 16} @@ -316,7 +316,7 @@ 9.456522e-01 - {{266, 15}, {182, 14}} + {{266, 14}, {182, 16}} 0 diff --git a/chrome/browser/cocoa/download_shelf_controller.mm b/chrome/browser/cocoa/download_shelf_controller.mm index a2fba89..16fc0c7 100644 --- a/chrome/browser/cocoa/download_shelf_controller.mm +++ b/chrome/browser/cocoa/download_shelf_controller.mm @@ -71,10 +71,13 @@ const NSTimeInterval kDownloadItemOpenDuration = 0.8; [[NSParagraphStyle defaultParagraphStyle] mutableCopy]); [paragraphStyle.get() setAlignment:NSRightTextAlignment]; + NSFont* font = [NSFont systemFontOfSize: + [NSFont systemFontSizeForControlSize:NSRegularControlSize]]; NSDictionary* linkAttributes = [NSDictionary dictionaryWithObjectsAndKeys: @"", NSLinkAttributeName, [NSCursor pointingHandCursor], NSCursorAttributeName, paragraphStyle.get(), NSParagraphStyleAttributeName, + font, NSFontAttributeName, nil]; NSString* text = base::SysWideToNSString(l10n_util::GetString(IDS_SHOW_ALL_DOWNLOADS)); -- cgit v1.1