Skip to content

fix: consider wco on the left side#310602

Open
tarik02 wants to merge 1 commit intomicrosoft:mainfrom
tarik02:fix/consider-desktop-wco-on-left-side
Open

fix: consider wco on the left side#310602
tarik02 wants to merge 1 commit intomicrosoft:mainfrom
tarik02:fix/consider-desktop-wco-on-left-side

Conversation

@tarik02
Copy link
Copy Markdown

@tarik02 tarik02 commented Apr 16, 2026

Updated style to make titlebar layout properly consider WCO variables for both left and right side. Even though upstream Electron never exposes env(titlebar-area-x) with non-zero value, this may change in future. I made PR to electron codebase that makes it consider system settings and position controls on the left side: electron/electron#51010

Overall - this was already supported on web - my changes to code just align web and non-web code into one.

Before/after:
image

@vs-code-engineering
Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css
  • src/vs/workbench/browser/parts/titlebar/titlebarPart.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants