easygui
easygui copied to clipboard
The dialog's min size can not be adjust
When I have two monitors, 1920x1080(HxW) + 1920x1080(HxW), and the Tk will get 1920x2160(HxW). It will make the dialog window's min size become to large, due to the main monitor's width is only 1080.
It seems like the winfo_screenwidth
and winfo_screenheight
can not get only one screen's size.
https://github.com/robertlugg/easygui/blob/master/easygui/boxes/base_boxes.py#L452-L464
Why hasn't anyone addressed this? Not only is the multiple monitors a problem, but the min size for the choicebox() is simply way too large. Even on the register.py example program, there's so much white space it's almost unusable. If it would be easy enough, I would suggest reducing both the min height and min width for the choice box by at least 50%. I'm sure there's a reason the current min size was chosen, but whatever it is, it would have to be one very good reason for the rather unfriendly aesthetic. Since it can always be dragged larger, a reduced size seems prudent.
We do need to get around to fixing this. I've wanted to do a bit of a refactor before doing addressing this particular issue: the current handling of screen widths is not ideal, and I want to make sure any modifications I do actually do more good than harm.
The short story is that I hear and feel your frustration, but can't promise a timeline for this being resolved. It's going to depend on available time to look at this.
Sorry that isn't more useful - but hope that some update / response is better than nothing here.