aboutsummaryrefslogtreecommitdiffstats
path: root/TableContent.m
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2008-11-21 01:12:59 +0000
committermltownsend <mltownsend@gmail.com>2008-11-21 01:12:59 +0000
commit1f3824ec2bc2465d9fe20c30f93db9ec5281151b (patch)
tree13f771c9e9b0f026097d8038e794c16db8d97cbf /TableContent.m
parenta1fe720cf5d7b6a04e7fa2b096721bad8a9e4532 (diff)
downloadsequelpro-1f3824ec2bc2465d9fe20c30f93db9ec5281151b.tar.gz
sequelpro-1f3824ec2bc2465d9fe20c30f93db9ec5281151b.tar.bz2
sequelpro-1f3824ec2bc2465d9fe20c30f93db9ec5281151b.zip
Issue 34 Fix. Plus fixes for some warnings.
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];