Revision: 15239
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15239&view=rev
Author:   hofman
Date:     2009-04-29 17:19:53 +0000 (Wed, 29 Apr 2009)

Log Message:
-----------
use the same font size for the count bubble as the text

Modified Paths:
--------------
    trunk/bibdesk/BDSKGroupCell.m

Modified: trunk/bibdesk/BDSKGroupCell.m
===================================================================
--- trunk/bibdesk/BDSKGroupCell.m       2009-04-29 17:11:35 UTC (rev 15238)
+++ trunk/bibdesk/BDSKGroupCell.m       2009-04-29 17:19:53 UTC (rev 15239)
@@ -110,7 +110,7 @@
 }
 
 - (void)updateCountAttributes {
-       NSFont *countFont = [NSFont fontWithName:@"Helvetica-Bold" size:([[self 
font] pointSize] - 1)] ?: [NSFont boldSystemFontOfSize:([[self font] pointSize] 
- 1)];
+       NSFont *countFont = [NSFont fontWithName:@"Helvetica-Bold" size:[[self 
font] pointSize]] ?: [NSFont boldSystemFontOfSize:[[self font] pointSize]];
        BDSKPRECONDITION(countFont);     
     [countString addAttribute:NSFontAttributeName value:countFont 
range:NSMakeRange(0, [countString length])];
     [countString addAttribute:NSKernAttributeName value:[NSNumber 
numberWithFloat:-1.0] range:NSMakeRange(0, [countString length])];


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

Reply via email to