vscode
vscode copied to clipboard
Align primary buttons alignment
VS Code has primary buttons.
Most often the primary button is left aligned, but sometimes it is right-aligned.
Left Aligned:
- Windows dialogs
- Notifications
- Export profile dialog
Right aligned:
- Create PR
- Comments
PR description also does right aligned:

Workspace trust is left aligned:

But PR title toolbar is left aligned (checkout 'distro'):

Keep in mind that there maybe platform differences as well and we try to align with the OS guidelines. I think Windows puts primary button to the left and Linux to the right if I remember correctly, at least in native dialogs.