Set "Current Time" toolbar item to use MonospacedDigitTextFieldCell.
This commit is contained in:
parent
056b1f569d
commit
22dc76c159
2 changed files with 1 additions and 7 deletions
|
@ -414,7 +414,7 @@
|
|||
<textField key="view" verticalHuggingPriority="750" id="1566" customClass="TimeField">
|
||||
<rect key="frame" x="8" y="14" width="61" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="0:00" usesSingleLineMode="YES" bezelStyle="round" id="1567">
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="0:00" usesSingleLineMode="YES" bezelStyle="round" id="1567" customClass="MonospacedDigitTextFieldCell">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
|
|
|
@ -66,12 +66,6 @@ NSString * timeStringForTimeInterval(NSTimeInterval timeInterval, BOOL enforceMi
|
|||
- (void)awakeFromNib
|
||||
{
|
||||
showTimeRemaining = [[NSUserDefaults standardUserDefaults] boolForKey:kTimerModeKey];
|
||||
if (@available(macOS 10.11, *)) {
|
||||
fontAttributes =
|
||||
@{NSFontAttributeName : [NSFont monospacedDigitSystemFontOfSize:13
|
||||
weight:NSFontWeightRegular]};
|
||||
[self update];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)update
|
||||
|
|
Loading…
Reference in a new issue