-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Order of OK and Cancel buttons is reversed #3811
Comments
Comment by njx 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. |
Comment by TomMalbran 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. |
Comment by njx Ah, ok. |
Comment by redmunds 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. |
Comment by jasonsanjose I removed the [framework-update] tag in the title now that we've narrowed it down to the Dialogs API changes. Assigned |
Comment by TomMalbran 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. |
Comment by redmunds
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. |
Comment by TomMalbran 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. |
Comment by jasonsanjose Confirmed fixed. |
Issue by redmunds
Tuesday Jun 04, 2013 at 20:58 GMT
Originally opened as adobe/brackets#4091
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: