mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed Sensors align in combined view and added localizedString to PortalHeader (#1879)
* [fix] fix Sensors align fix the align in Sensors combined view * [feat] add localizedString to header
This commit is contained in:
@@ -78,7 +78,7 @@ public class PortalHeader: NSStackView {
|
||||
title.canDrawSubviewsIntoLayer = true
|
||||
title.alignment = .center
|
||||
title.font = NSFont.systemFont(ofSize: 12, weight: .regular)
|
||||
title.stringValue = name
|
||||
title.stringValue = localizedString(name)
|
||||
|
||||
let settings = NSButton()
|
||||
settings.heightAnchor.constraint(equalToConstant: 18).isActive = true
|
||||
|
||||
Reference in New Issue
Block a user