From 1d3d3b7831b1e363ea64f1147689433f6e012301 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 26 Jun 2020 23:16:37 -0500 Subject: [PATCH] Add button size. --- Clocker/Onboarding/OnboardingParentViewController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Clocker/Onboarding/OnboardingParentViewController.swift b/Clocker/Onboarding/OnboardingParentViewController.swift index d299dfe..432f8bb 100644 --- a/Clocker/Onboarding/OnboardingParentViewController.swift +++ b/Clocker/Onboarding/OnboardingParentViewController.swift @@ -69,6 +69,12 @@ class OnboardingParentViewController: NSViewController { backButton.tag = OnboardingType.welcome.rawValue [negativeButton, backButton].forEach { $0?.isHidden = true } + + if #available(OSX 10.16, *) { + negativeButton.controlSize = .large + positiveButton.controlSize = .large + backButton.controlSize = .large + } } private func setIdentifiersForTests() {