fix: align provider header with footer action pill
This commit is contained in:
@@ -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 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
|
### 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.
|
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.
|
||||||
|
|||||||
@@ -352,8 +352,8 @@ final class LauncherWindowController: NSWindowController, NSWindowDelegate, NSSe
|
|||||||
NSLayoutConstraint.activate([
|
NSLayoutConstraint.activate([
|
||||||
header.topAnchor.constraint(equalTo: content.topAnchor, constant: 20),
|
header.topAnchor.constraint(equalTo: content.topAnchor, constant: 20),
|
||||||
header.leadingAnchor.constraint(equalTo: content.leadingAnchor, constant: 16),
|
header.leadingAnchor.constraint(equalTo: content.leadingAnchor, constant: 16),
|
||||||
header.trailingAnchor.constraint(equalTo: content.trailingAnchor, constant: -24),
|
header.trailingAnchor.constraint(equalTo: footer.trailingAnchor),
|
||||||
header.heightAnchor.constraint(equalToConstant: 32),
|
header.heightAnchor.constraint(equalToConstant: 36),
|
||||||
sectionLabel.topAnchor.constraint(equalTo: header.bottomAnchor, constant: 16),
|
sectionLabel.topAnchor.constraint(equalTo: header.bottomAnchor, constant: 16),
|
||||||
sectionLabel.leadingAnchor.constraint(equalTo: content.leadingAnchor, constant: 16),
|
sectionLabel.leadingAnchor.constraint(equalTo: content.leadingAnchor, constant: 16),
|
||||||
scrollView.topAnchor.constraint(equalTo: sectionLabel.bottomAnchor, constant: -10),
|
scrollView.topAnchor.constraint(equalTo: sectionLabel.bottomAnchor, constant: -10),
|
||||||
|
|||||||
Reference in New Issue
Block a user