mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: adjust buttons size in the update view
This commit is contained in:
@@ -49,7 +49,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(updateCron), name: .changeCronInterval, object: nil)
|
||||
|
||||
modules.forEach{ $0.mount() }
|
||||
|
||||
self.settingsWindow.setModules()
|
||||
|
||||
self.defaultValues()
|
||||
|
||||
@@ -145,6 +145,7 @@ private class UpdateView: NSView {
|
||||
let buttons: NSStackView = NSStackView(frame: NSRect(x: 0, y: 0, width: view.frame.width, height: 26))
|
||||
buttons.orientation = .horizontal
|
||||
buttons.spacing = 10
|
||||
buttons.distribution = .fillEqually
|
||||
|
||||
buttons.addArrangedSubview(closeButton)
|
||||
buttons.addArrangedSubview(changelogButton)
|
||||
|
||||
Reference in New Issue
Block a user