From 3d922c87fa3b0e8251f0c917a871b15b1e56d140 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 30 Jul 2014 13:10:19 -0400 Subject: Fixed up attributes of Table on Mac OS X. --- redo/table_darwin.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'redo/table_darwin.m') diff --git a/redo/table_darwin.m b/redo/table_darwin.m index 1e823b4..8bb7e0f 100644 --- a/redo/table_darwin.m +++ b/redo/table_darwin.m @@ -45,12 +45,10 @@ id newTable(void) [t setAllowsMultipleSelection:NO]; [t setAllowsEmptySelection:YES]; [t setAllowsColumnSelection:NO]; - // TODO check against interface builder return (id) t; } -// TODO scroll view - +// TODO other types void tableAppendColumn(id t, char *name) { NSTableColumn *c; @@ -58,7 +56,9 @@ void tableAppendColumn(id t, char *name) c = [[NSTableColumn alloc] initWithIdentifier:nil]; [c setEditable:NO]; [[c headerCell] setStringValue:[NSString stringWithUTF8String:name]]; - // TODO other options + setSmallControlFont((id) [c headerCell]); + setStandardControlFont((id) [c dataCell]); + // TODO text layout options [toNSTableView(t) addTableColumn:c]; } -- cgit v1.2.3