Revision: 24135
http://sourceforge.net/p/bibdesk/svn/24135
Author: hofman
Date: 2019-08-15 21:01:32 +0000 (Thu, 15 Aug 2019)
Log Message:
-----------
use disabled control text color for uneditable types and fields
Modified Paths:
--------------
trunk/bibdesk/BDSKTypeInfoEditor.m
Modified: trunk/bibdesk/BDSKTypeInfoEditor.m
===================================================================
--- trunk/bibdesk/BDSKTypeInfoEditor.m 2019-08-15 15:02:47 UTC (rev 24134)
+++ trunk/bibdesk/BDSKTypeInfoEditor.m 2019-08-15 21:01:32 UTC (rev 24135)
@@ -526,10 +526,8 @@
- (void)tableView:(NSTableView *)tv willDisplayCell:(id)cell
forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
if ([self canEditTableView:tv row:row]) {
[cell setTextColor:[NSColor controlTextColor]]; // when
selected, this is automatically changed to white
- } else if ([[self window] isKeyWindow] && [[[self window]
firstResponder] isEqual:tv] && [tv isRowSelected:row]) {
- [cell setTextColor:[NSColor lightGrayColor]]; // selected
disabled
} else {
- [cell setTextColor:[NSColor darkGrayColor]]; // unselected
disabled
+ [cell setTextColor:[NSColor disabledControlTextColor]]; //
disabled
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit