Skip to content

Keep panel close buttons clear of the window controls on Windows - #1512

Closed
batudez wants to merge 1 commit into
devdotfast:mainfrom
batudez:fix/tour-close-under-window-controls
Closed

batudez wants to merge 1 commit into
devdotfast:mainfrom
batudez:fix/tour-close-under-window-controls

Conversation

@batudez

@batudez batudez commented Nov 4, 2026

Copy link
Copy Markdown

On Windows and Linux the window controls sit over the top-right corner of whichever part reaches it, but the canvas never learned their width: a guided tour's close button, fullscreen or in the right column, sat under them, and so did the close buttons of side peeks and Ask in that column.

The workbench now writes --review-chrome-right-width on the part at the window's top-right corner, an editor group or the Ask column, only when it changes. Panel headers read it into their right padding: the right column's header and a fullscreen tour's panel set the inset, so nothing moves on macOS or where no controls cover the canvas.

Fixes #1490

On Windows and Linux the window controls sit over the top-right corner of
whichever part reaches it, but the canvas never learned their width: a
guided tour's close button, fullscreen or in the right column, sat under
them, and so did the close buttons of side peeks and Ask in that column.

The workbench now writes --review-chrome-right-width on the part at the
window's top-right corner, an editor group or the Ask column, only when it
changes. Panel headers read it into their right padding: the right
column's header and a fullscreen tour's panel set the inset, so nothing
moves on macOS or where no controls cover the canvas.

Fixes devdotfast#1490

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@batudez batudez closed this Nov 4, 2026
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.

On Windows, a tour's close button sits under the window controls

1 participant