From 8036830030fcf3ec70108cb7ab5ddbfc31c777d4 Mon Sep 17 00:00:00 2001 From: Michael Blauberg <103556269+mblauberg@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:18:47 +1000 Subject: [PATCH] Sheets: keep the Done row at its own height The presets sheet's empty state took every point offered, which squeezed the Done row to 33 x 13 pt (ui-matrix presets / two-mice and paused, ax). --- Sources/PureMouseSettingsUI/Components.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/PureMouseSettingsUI/Components.swift b/Sources/PureMouseSettingsUI/Components.swift index db6fe48..4e55b14 100644 --- a/Sources/PureMouseSettingsUI/Components.swift +++ b/Sources/PureMouseSettingsUI/Components.swift @@ -318,6 +318,9 @@ struct AdvancedSheet: View { // In line with the grouped form's content box, not the sheet's edge. .padding(.horizontal, Self.contentInset) .padding(.bottom) + // Its own height always: a greedy row above (the presets' empty state) squeezed Done + // to 13 pt. + .fixedSize(horizontal: false, vertical: true) } .frame(width: SettingsWindowController.sheetWidth) }