Improve: Set speed label font-weight to medium
This commit is contained in:
parent
d4ed7b2e61
commit
9b87836283
@ -62,6 +62,13 @@ class StatusItemView: NSView {
|
||||
|
||||
self.updateStatusItemView()
|
||||
}.disposed(by: disposeBag)
|
||||
|
||||
if #available(OSX 10.11, *) {
|
||||
let font = NSFont.systemFont(ofSize: 8, weight: .medium)
|
||||
uploadSpeedLabel.font = font
|
||||
downloadSpeedLabel.font = font
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func updateSpeedLabel(up:Int,down:Int) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
|
Loading…
Reference in New Issue
Block a user