aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-08-01 00:39:58 +0000
committerrowanbeentje <rowan@beent.je>2012-08-01 00:39:58 +0000
commit8083f88a6af7ee8361748ff155db1549431699a7 (patch)
treee8981d1f5635ad64dfd33236e30940fb39a19aeb /Source
parente6e2fe26d29659d805628114a0c1cd5f9d7ab5b4 (diff)
downloadsequelpro-8083f88a6af7ee8361748ff155db1549431699a7.tar.gz
sequelpro-8083f88a6af7ee8361748ff155db1549431699a7.tar.bz2
sequelpro-8083f88a6af7ee8361748ff155db1549431699a7.zip
- 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
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.h2
-rw-r--r--Source/SPTableContent.m4
2 files changed, 3 insertions, 3 deletions
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