vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Align primary buttons alignment

Open hediet opened this issue 2 years ago • 3 comments

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

hediet avatar Dec 08 '22 15:12 hediet

PR description also does right aligned: image

Workspace trust is left aligned: image

alexr00 avatar Dec 08 '22 15:12 alexr00

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

image

hediet avatar Dec 08 '22 15:12 hediet

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.

bpasero avatar Dec 08 '22 16:12 bpasero