From 8083f88a6af7ee8361748ff155db1549431699a7 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 1 Aug 2012 00:39:58 +0000 Subject: - Alter table content Advanced Table Filter query preview area to use standard textview backgrounds, getting rid of the surrounding border box. This fixes issues with dark colour schemes. - Fix Advanced Table Filter column sizing to be uniform --- Source/SPTableContent.h | 2 +- Source/SPTableContent.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Source') diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h index 71ae4a43..013897f9 100644 --- a/Source/SPTableContent.h +++ b/Source/SPTableContent.h @@ -102,7 +102,7 @@ IBOutlet SPCopyTable *filterTableView; IBOutlet NSPanel *filterTableWindow; IBOutlet SPSplitView *filterTableSplitView; - IBOutlet NSBox *filterTableQueryBox; + IBOutlet NSTextField *filterTableQueryTitle; IBOutlet NSButton *filterTableFilterButton; IBOutlet NSButton *filterTableClearButton; IBOutlet SPTextView *filterTableWhereClause; diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index a024e09f..43307746 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -3596,9 +3596,9 @@ filterTableNegate = !filterTableNegate; if (filterTableNegate) { - [filterTableQueryBox setTitle:NSLocalizedString(@"WHERE NOT query", @"Title of filter preview area when the query WHERE is negated")]; + [filterTableQueryTitle setStringValue:NSLocalizedString(@"WHERE NOT query", @"Title of filter preview area when the query WHERE is negated")]; } else { - [filterTableQueryBox setTitle:NSLocalizedString(@"WHERE query", @"Title of filter preview area when the query WHERE is normal")]; + [filterTableQueryTitle setStringValue:NSLocalizedString(@"WHERE query", @"Title of filter preview area when the query WHERE is normal")]; } // If live search is set perform filtering -- cgit v1.2.3