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:
@@ -35,12 +35,13 @@ public class Portal: NSStackView, Portal_p {
|
||||
|
||||
self.orientation = .vertical
|
||||
self.distribution = .fillEqually
|
||||
self.spacing = Constants.Popup.spacing*2
|
||||
self.widthAnchor.constraint(equalToConstant: Constants.Popup.width).isActive = true
|
||||
self.spacing = Constants.Popup.spacing
|
||||
self.edgeInsets = NSEdgeInsets(
|
||||
top: Constants.Popup.spacing*2,
|
||||
left: Constants.Popup.spacing*2,
|
||||
bottom: Constants.Popup.spacing*2,
|
||||
right: Constants.Popup.spacing*2
|
||||
right: Constants.Popup.spacing
|
||||
)
|
||||
|
||||
self.container.stackView.spacing = 0
|
||||
|
||||
Reference in New Issue
Block a user