From 8c8fe9ea6f098aa8c78eb0086974251cf9c09224 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 3 Aug 2009 15:42:26 +0000 Subject: Use light gray rather than gray for displaying NULLs and blog/text fields that aren't loaded. --- Source/TableContent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/TableContent.m b/Source/TableContent.m index 4d8f5e4c..08f0aafb 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -1882,7 +1882,7 @@ // of the user's NULL value preference which was set in the result array when it was retrieved (see fetchResultAsArray). // Also, as an added measure check that the table column actually allows NULLs to make sure we don't change a cell that // happens to have a value matching the NULL placeholder, but the column doesn't allow NULLs. - [cell setTextColor:([[cell stringValue] isEqualToString:[prefs objectForKey:@"NullValue"]] && [[column objectForKey:@"null"] boolValue]) ? [NSColor grayColor] : [NSColor blackColor]]; + [cell setTextColor:([[cell stringValue] isEqualToString:[prefs objectForKey:@"NullValue"]] && [[column objectForKey:@"null"] boolValue]) ? [NSColor lightGrayColor] : [NSColor blackColor]]; } // Check if loading of text/blob fields is disabled @@ -1903,7 +1903,7 @@ if ([[cell stringValue] isEqualToString:NSLocalizedString(@"(not loaded)", @"value shown for hidden blob and text fields")]) { // change the text color of the cell to gray - [cell setTextColor:[NSColor grayColor]]; + [cell setTextColor:[NSColor lightGrayColor]]; } else { // Change the text color back to black -- cgit v1.2.3