From 90014118808a52921166670f18e3de607c724626 Mon Sep 17 00:00:00 2001 From: hl-valdemar Date: Sun, 18 Oct 2026 02:15:23 +0200 Subject: [PATCH] fix: align provider header with footer action pill --- README.md | 2 ++ Sources/Conjure/LauncherWindowController.swift | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b8770ae..a1d26cc 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,8 @@ Action and provider popups paint a popup-sized background using the launcher win The launcher, emoji picker, and Translate share `ActionPill` for footer styling, alignment, spacing, and keyboard indicators: primary action with Return first, then Actions with separate Command and K keycaps. Controllers supply the buttons and retain their targets, enabled state, and popup behavior. +The header’s trailing edge is constrained to the footer’s trailing edge. The translation provider pill and footer pill therefore share the same 8-point right inset and 36-point height. + ### Global shortcuts and launch at login In Settings, choose a **Global shortcut destination**: **Applications**, **Conjure Emoji**, **Conjure Notes**, or **Conjure Translate**. Choose **Record Shortcut…** and press a combination containing Command, Option, or Control. For example, select **Conjure Emoji** and record Command-Shift-Space to open the emoji picker directly. **Clear** disables only the selected destination's shortcut. No shortcuts are assigned by default; existing launcher bindings are preserved. diff --git a/Sources/Conjure/LauncherWindowController.swift b/Sources/Conjure/LauncherWindowController.swift index ead35d9..55111f3 100644 --- a/Sources/Conjure/LauncherWindowController.swift +++ b/Sources/Conjure/LauncherWindowController.swift @@ -352,8 +352,8 @@ final class LauncherWindowController: NSWindowController, NSWindowDelegate, NSSe NSLayoutConstraint.activate([ header.topAnchor.constraint(equalTo: content.topAnchor, constant: 20), header.leadingAnchor.constraint(equalTo: content.leadingAnchor, constant: 16), - header.trailingAnchor.constraint(equalTo: content.trailingAnchor, constant: -24), - header.heightAnchor.constraint(equalToConstant: 32), + header.trailingAnchor.constraint(equalTo: footer.trailingAnchor), + header.heightAnchor.constraint(equalToConstant: 36), sectionLabel.topAnchor.constraint(equalTo: header.bottomAnchor, constant: 16), sectionLabel.leadingAnchor.constraint(equalTo: content.leadingAnchor, constant: 16), scrollView.topAnchor.constraint(equalTo: sectionLabel.bottomAnchor, constant: -10),