Skip to content
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

Influence position of buttons on choicebox #195

Open
Harm10 opened this issue Mar 18, 2022 · 10 comments
Open

Influence position of buttons on choicebox #195

Harm10 opened this issue Mar 18, 2022 · 10 comments

Comments

@Harm10
Copy link

Harm10 commented Mar 18, 2022

I am using easygui especially to build and display choice boxes in robot framework on Windows.
At the moment I get the OK button on the right side of the Cancel button. This is not the same sequence as Windows uses when such a choice needs to be answered.

Can I set some option to change the position of a button?

@Harm10
Copy link
Author

Harm10 commented Apr 22, 2022

@robertlugg Is there still maintenance done on this package?

@zadacka
Copy link
Collaborator

zadacka commented Apr 23, 2022

There is not currently an option to do what you want - your most immediate option is to look at the EasyGui source code and create a custom Box configuration that matches what you want.

Nice suggestion, and good point. It might be a good addition.

I’ve been meaning to do get some refactoring and bug fixing done to make adding new features easier - but it keeps getting postponed. It would be really nice to add some class inheritance first before introducing something like this to all of the various box classes currently in existence. In other words - I’d want to do the refactor first, and add features later…

@Harm10
Copy link
Author

Harm10 commented May 6, 2022

@zadacka Thanks for your reply. I have another suggestion: on multibox currently I cannot do a block select (so multiple choices in 1 go); I need to do a one by one select now. Could a block select be added?

@zadacka
Copy link
Collaborator

zadacka commented May 6, 2022

Block select: as in shift click to select a block of choices?

You should definitely already be able to select one at a time (to add to the selection), or hit the 'select all' button to get all of them, right?

I don't think that we've got anything to do selection of a block yet. Am I understanding the idea right?

@Harm10
Copy link
Author

Harm10 commented Jul 3, 2022

Selecting one by one works fine and select all also works fine.
I mean block select: select one, hold left shift and select another and all those in between will be selected.

@Harm10
Copy link
Author

Harm10 commented Jul 31, 2022

@zadacka Any news on this request?

@zadacka
Copy link
Collaborator

zadacka commented Oct 11, 2022 via email

@zadacka
Copy link
Collaborator

zadacka commented Oct 11, 2022 via email

@Harm10
Copy link
Author

Harm10 commented Dec 24, 2022

@zadacka I am anxiously awaiting your refactor.......... Any news?

@zadacka
Copy link
Collaborator

zadacka commented Jan 2, 2023

#202

I've been meaning to work through the PR and check that each of the box types works correctly before/after the changes. As there few tests prior to this (and testing UI stuff is generally a pain) the first round of checks needs to be done by hand.

Meant to do this over Xmas/New Year, but ended up relaxing too hard and not doing anything producvite!

Comments on the refactor PR are welcome, especially if you see any bug that I've introduced and not spotted yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants