Browse files

Using `+[NSFont menuFontOfSize:]` to get the menubar font

  • Loading branch information...
1 parent 70b6d65 commit f6bcee5cfd459baa6434bb2d53ec612ce1369ca9 @ELLIOTTCABLE committed Jun 9, 2010
Showing with 2 additions and 2 deletions.
  1. BIN Fonts/FertigoPro-Regular.otf
  2. +2 −2 YRSolcounter.m
View
BIN Fonts/FertigoPro-Regular.otf
Binary file not shown.
View
4 YRSolcounter.m
@@ -61,8 +61,8 @@ -(void) handleTimer: (NSTimer*)_ {
(unsigned long long int)(date / 0.0000864) % 1000];
NSDictionary *solCountAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
- [NSFont systemFontOfSize: 14.0], NSFontAttributeName,
- [[NSColor blackColor] colorWithAlphaComponent:.9], NSForegroundColorAttributeName,
+ [NSFont menuFontOfSize: 14.0], NSFontAttributeName,
+ [[NSColor blackColor] colorWithAlphaComponent: .9], NSForegroundColorAttributeName,
nil];
NSMutableAttributedString *attributedSolCount = //»
[[NSMutableAttributedString alloc] initWithString: solCount

0 comments on commit f6bcee5

Please sign in to comment.