summaryrefslogtreecommitdiff
path: root/redo/table_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'redo/table_darwin.m')
-rw-r--r--redo/table_darwin.m8
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];
}