From 967e8193c03c1946fa8c67ae0a9ed038809f4c35 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Mon, 6 Oct 2025 17:33:08 +0200 Subject: [PATCH] fix: adjusted table height in the Clock settings for macOS 26 --- Modules/Clock/settings.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Modules/Clock/settings.swift b/Modules/Clock/settings.swift index 2043f95d..21036c65 100644 --- a/Modules/Clock/settings.swift +++ b/Modules/Clock/settings.swift @@ -108,8 +108,13 @@ internal class Settings: NSStackView, Settings_v, NSTableViewDelegate, NSTableVi self.addArrangedSubview(separator) self.addArrangedSubview(self.footer()) + var hight: CGFloat = 296 + if #available(macOS 26.0, *) { + hight = 290 + } + NSLayoutConstraint.activate([ - self.scrollView.heightAnchor.constraint(equalToConstant: 296) + self.scrollView.heightAnchor.constraint(equalToConstant: hight) ]) }