Skip to content

settings: match the add-device menu to the sidebar on macOS 26 - #7907

Merged
osy merged 1 commit into
mainfrom
settings/add-device-menu-style
Sep 23, 2026
Merged

osy merged 1 commit into
mainfrom
settings/add-device-menu-style

Conversation

@osy

@osy osy commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

On macOS 26 and later, the Devices "New…" menu in the VM settings sidebar rendered as a compact pull-down (smaller text, untinted icon, chevron, and a text column that does not line up with the other rows) instead of matching the neighbouring sidebar entries. The .borderlessButton menu style is what draws it that way; .menuStyle(.button) combined with .buttonStyle(.plain) renders the label like the other rows, so both the QEMU and Apple add-device menus now use that on macOS 26+. Older macOS releases and iOS keep the existing style.

Testing: Tested by a human on macOS 27.0 host + macOS 12.6 VM.
The author acknowledges that this change has been tested and/or reviewed by a human in accordance with UTM's AI contribution guidelines.

On macOS 26 and later, the borderless button menu style draws the
Devices "New…" entry as a compact pull-down: smaller text, an untinted
icon, a chevron, and a text column that does not line up with the other
sidebar rows. Only the button menu style combined with the plain button
style renders the label like the neighbouring rows, so use that on
macOS 26 and keep the existing style on older releases and on iOS.

Assisted-by: Claude:claude-fable-5-1
@osy osy added this to the v5.0 milestone Sep 23, 2026
@osy
osy merged commit 2c71ead into main Sep 23, 2026
54 checks passed
@osy
osy deleted the settings/add-device-menu-style branch September 23, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant