Two gigaseconds #147
1 changed files with 8 additions and 0 deletions
|
@ -24,7 +24,14 @@
|
||||||
- (void)awakeFromNib {
|
- (void)awakeFromNib {
|
||||||
[[self menu] setAutoenablesItems:NO];
|
[[self menu] setAutoenablesItems:NO];
|
||||||
|
|
||||||
|
#if 0
|
||||||
// Configure bindings to scale font size and row height
|
// Configure bindings to scale font size and row height
|
||||||
|
// NOTE: This currently seems to be without effect.
|
||||||
|
// NSFont value overwritten by
|
||||||
|
// -[NSDisplayFontBinder _adjustFontOfObject:mode:triggerRedisplay:compareDirectly:toFont:]
|
||||||
|
// called by
|
||||||
|
// -[NSWindow makeKeyAndOrderFront:]
|
||||||
|
|
||||||
NSControlSize s = NSControlSizeSmall;
|
NSControlSize s = NSControlSizeSmall;
|
||||||
NSFont *f = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:s]];
|
NSFont *f = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:s]];
|
||||||
// NSFont *bf = [[NSFontManager sharedFontManager] convertFont:f toHaveTrait:NSBoldFontMask];
|
// NSFont *bf = [[NSFontManager sharedFontManager] convertFont:f toHaveTrait:NSBoldFontMask];
|
||||||
|
@ -33,6 +40,7 @@
|
||||||
[[col dataCell] setControlSize:s];
|
[[col dataCell] setControlSize:s];
|
||||||
[[col dataCell] setFont:f];
|
[[col dataCell] setFont:f];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set up formatters
|
// Set up formatters
|
||||||
NSFormatter *secondsFormatter = [[SecondsFormatter alloc] init];
|
NSFormatter *secondsFormatter = [[SecondsFormatter alloc] init];
|
||||||
|
|
Loading…
Reference in a new issue