-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Order of OK and Cancel buttons is reversed #4091
Comments
Hmmm, interesting. Right now, it looks like on the Mac the buttons in the Project Settings dialog are in the right order (Cancel / OK), but they're in the wrong order in the Install from URL dialog (Install / Cancel). So there's some additional inconsistency in how we're setting up the order. |
The Dialogs Buttons order was changed by my request #3086 in order to fix #3077 and #1089. The buttons are aligned to the right instead of floated, so that they can be added in the correct order, and in Windows the order of the Cancel/OK is reversed by floating them to the right. It seems like I missed a change to the Install from Url Dialog. |
Ah, ok. @redmunds - do the buttons in all the other dialogs (besides Install from URL) look correct on Windows? |
I'm also seeing it in prompts for unsaved changes for single and multiple files, so it seems to effect all templated modal dialogs that have both OK and Cancel buttons. |
I removed the [framework-update] tag in the title now that we've narrowed it down to the Dialogs API changes. Assigned @jasonsanjose. |
Some notes about this issue:
From what I get, fixing this last 2 things would fix this issue, so I'll try to make a pull request for that. |
Maybe I misunderstood, but all of the dialogs that I mentioned are still have the ok/cancel buttons in the wrong order. I also noticed the buttons in the Remove Extension info message dilaog are also in the wrong order. |
Right now on Mac the order of the buttons is normal then primary (Cancel and then OK), that is the same order as buttons in the templates. To fix issue #1089, on Windows the order of the buttons is primary and then normal (OK and then Cancel). So in windows all the buttons should be switched and on Mac should be as before. The issue #1089 only mentioned the save buttons, but the order of the buttons on Windows is usually Accept and then Cancel, so I fixed it for all the buttons. |
Confirmed fixed. |
Before the update, dialog buttons were right-aligned, so you had to specify them in the reverse order of how you wanted them to appear. That seems to have changed (although buttons are still right-aligned) because the order of buttons is the reverse of what it was before.
Also, there is no longer any margin between buttons.
The text was updated successfully, but these errors were encountered: