aboutsummaryrefslogtreecommitdiffstats
path: root/TableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'TableContent.m')
-rw-r--r--TableContent.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/TableContent.m b/TableContent.m
index 0a98414c..6610ceb1 100644
--- a/TableContent.m
+++ b/TableContent.m
@@ -180,6 +180,7 @@
dataCell = [[[NSTextFieldCell alloc] initTextCell:@""] autorelease];
}
[dataCell setEditable:YES];
+
if ( [dataCell respondsToSelector:@selector(setLineBreakMode:)] ) {
// Mac OS X 10.4+
[dataCell setLineBreakMode:NSLineBreakByTruncatingTail];
@@ -906,6 +907,8 @@
[editTextView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]];
} else {
[editTextView setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
+ [limitRowsField setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
+ [argumentField setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
}
[hexTextView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]];
[limitRowsStepper setEnabled:NO];