summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/task_manager_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/task_manager_mac.mm')
-rw-r--r--chrome/browser/cocoa/task_manager_mac.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/task_manager_mac.mm b/chrome/browser/cocoa/task_manager_mac.mm
index 91e8f92..4d0741b0 100644
--- a/chrome/browser/cocoa/task_manager_mac.mm
+++ b/chrome/browser/cocoa/task_manager_mac.mm
@@ -91,6 +91,9 @@
[[column.get() headerCell] setAlignment:textAlignment];
[[column.get() dataCell] setAlignment:textAlignment];
+ NSFont* font = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]];
+ [[column.get() dataCell] setFont:font];
+
[column.get() setHidden:!isVisible];
[column.get() setEditable:NO];
[tableView_ addTableColumn:column.get()];
@@ -109,6 +112,8 @@
[[NSButtonCell alloc] initTextCell:@""]);
[nameCell.get() setImagePosition:NSImageLeft];
[nameCell.get() setButtonType:NSSwitchButton];
+ [nameCell.get() setAlignment:[[nameColumn dataCell] alignment]];
+ [nameCell.get() setFont:[[nameColumn dataCell] font]];
[nameColumn setDataCell:nameCell.get()];
[self addColumnWithId:IDS_TASK_MANAGER_PHYSICAL_MEM_COLUMN visible:YES];