Two gigaseconds #147

Merged
JanX2 merged 30 commits from two-gigaseconds into master 2021-05-06 22:50:26 -04:00
Showing only changes of commit 056b1f569d - Show all commits

View file

@ -24,7 +24,14 @@
- (void)awakeFromNib {
[[self menu] setAutoenablesItems:NO];
#if 0
// 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;
NSFont *f = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:s]];
// NSFont *bf = [[NSFontManager sharedFontManager] convertFont:f toHaveTrait:NSBoldFontMask];
@ -33,6 +40,7 @@
[[col dataCell] setControlSize:s];
[[col dataCell] setFont:f];
}
#endif
// Set up formatters
NSFormatter *secondsFormatter = [[SecondsFormatter alloc] init];