diff --git a/Stats/Views/Settings.swift b/Stats/Views/Settings.swift index 6bc0cf82..c060f4fe 100644 --- a/Stats/Views/Settings.swift +++ b/Stats/Views/Settings.swift @@ -221,7 +221,7 @@ class SettingsWindow: NSWindow, NSWindowDelegate, NSToolbarDelegate { private func positionCenter() { self.setFrameOrigin(NSPoint( x: (NSScreen.main!.frame.width - SettingsWindow.size.width)/2, - y: (NSScreen.main!.frame.height - SettingsWindow.size.height)/2 + y: ((NSScreen.main!.frame.height - SettingsWindow.size.height)/1.75) )) } } diff --git a/Stats/Views/Setup.swift b/Stats/Views/Setup.swift index 10dc17d9..9dc1868f 100644 --- a/Stats/Views/Setup.swift +++ b/Stats/Views/Setup.swift @@ -60,7 +60,7 @@ internal class SetupWindow: NSWindow, NSWindowDelegate { private func positionCenter() { self.setFrameOrigin(NSPoint( x: (NSScreen.main!.frame.width - self.view.frame.width)/2, - y: (NSScreen.main!.frame.height - self.view.frame.height)/2 + y: (NSScreen.main!.frame.height - self.view.frame.height)/1.75 )) } } diff --git a/Stats/Views/Update.swift b/Stats/Views/Update.swift index 4d9bab70..19a8c50c 100644 --- a/Stats/Views/Update.swift +++ b/Stats/Views/Update.swift @@ -50,7 +50,7 @@ class UpdateWindow: NSWindow, NSWindowDelegate { private func positionCenter() { self.setFrameOrigin(NSPoint( x: (NSScreen.main!.frame.width - self.viewController.view.frame.width)/2, - y: (NSScreen.main!.frame.height - self.viewController.view.frame.height)/2 + y: (NSScreen.main!.frame.height - self.viewController.view.frame.height)/1.75 )) } }