fix: adjust buttons size in the update view

This commit is contained in:
Serhiy Mytrovtsiy
2021-06-08 18:14:53 +02:00
parent c55d313d72
commit e2cde3f1d4
2 changed files with 1 additions and 1 deletions

View File

@@ -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()

View File

@@ -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)