Revision: 15235
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15235&view=rev
Author: hofman
Date: 2009-04-29 14:46:19 +0000 (Wed, 29 Apr 2009)
Log Message:
-----------
reduce indentation in group cell on Tiger as the source list style does
Modified Paths:
--------------
trunk/bibdesk/BDSKGradientTableView.m
Modified: trunk/bibdesk/BDSKGradientTableView.m
===================================================================
--- trunk/bibdesk/BDSKGradientTableView.m 2009-04-29 14:36:46 UTC (rev
15234)
+++ trunk/bibdesk/BDSKGradientTableView.m 2009-04-29 14:46:19 UTC (rev
15235)
@@ -215,20 +215,24 @@
- (id)initWithFrame:(NSRect)frameRect {
if (self = [super initWithFrame:frameRect]) {
- if ([self respondsToSelector:@selector(setSelectionHighlightStyle:)])
+ if ([self respondsToSelector:@selector(setSelectionHighlightStyle:)]) {
[self
setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleSourceList];
- else // from Mail.app on 10.4
+ } else {// from Mail.app on 10.4
[self setBackgroundColor:[[NSColor
colorWithCalibratedRed:231.0f/255.0f green:237.0f/255.0f blue:246.0f/255.0f
alpha:1.0] colorUsingColorSpaceName:NSDeviceRGBColorSpace]];
+ [self setIndentationPerLevel:14.0];
+ }
}
return self;
}
- (id)initWithCoder:(NSCoder *)coder {
if (self = [super initWithCoder:coder]) {
- if ([self respondsToSelector:@selector(setSelectionHighlightStyle:)])
+ if ([self respondsToSelector:@selector(setSelectionHighlightStyle:)]) {
[self
setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleSourceList];
- else // from Mail.app on 10.4
+ } else { // from Mail.app on 10.4
[self setBackgroundColor:[[NSColor
colorWithCalibratedRed:231.0f/255.0f green:237.0f/255.0f blue:246.0f/255.0f
alpha:1.0] colorUsingColorSpaceName:NSDeviceRGBColorSpace]];
+ [self setIndentationPerLevel:14.0];
+ }
}
return self;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit