diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-30 13:10:19 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-30 13:10:19 -0400 |
| commit | 3d922c87fa3b0e8251f0c917a871b15b1e56d140 (patch) | |
| tree | f8a137296394d4c7eb0922da9e2e10e19ccceeab /redo/table_darwin.m | |
| parent | d21bd3058370e123bfda50d6a9fe1b5fcdd2a263 (diff) | |
Fixed up attributes of Table on Mac OS X.
Diffstat (limited to 'redo/table_darwin.m')
| -rw-r--r-- | redo/table_darwin.m | 8 |
1 files changed, 4 insertions, 4 deletions
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]; } |
