Closed PySimpleGUI closed 4 years ago
Thanks for your observation. I will effect this change.
Ah, by the way, thanks for showing me how to make a radio button the default. Also, is there any way to make a checkbox enabled on default?
This has been implemented, and will be included in the next upload. So, I'm closing this issue.
Disclaimer / apology
It drives me crazy when people send me code changes. It just does. I don't take pull requests. I personally don't want code sent to me. 🙄 So, I apologize for hacking at your code and sending you the changes. Maybe you've got a different attitude about these things. 😀
The industry standard for GUIs seems to be that when 2 buttons are shown, the left one is the "positive" or "Yes" choice and the right is the "negative" or "No" or "Cancel" choice.
This window has the locations swapped and I find myself getting confused as a result or cancelling because I assume the normal order applies.
The result after my hack looks like this:
You may also want to bind the return key to the confirm button so that the user can simply press the return key rather than clicking confirm.
The line of code I changed is this:
Now I can choose one and press return. Because I'm so obsessed with your groundbreaking colors from image feature, I've also made that the default radio button. The default currently is that none of them are selected. By defaulting, I don't have to click anything, I simply press return when I get to that window (I'm super lazy)
The code change that set the default was: