easygui icon indicating copy to clipboard operation
easygui copied to clipboard

The dialog's min size can not be adjust

Open askeing opened this issue 8 years ago • 2 comments

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

askeing avatar Sep 02 '15 09:09 askeing

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.

deleuzer avatar Dec 09 '17 06:12 deleuzer

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.

zadacka avatar Dec 23 '17 19:12 zadacka