I'm creating a GUI for my python script in EasyGUI. Does anyone know of a way I can change the default Window size? The default is far too big.
Thanks for your help.
I pseudo-pulled the code from GitHub to mess with the choicebox because of the size problem and I did the following .... I don't know if this is a good fix or not but it seemed to work to make at least the width of the screen variable according to the length of msg, title, and list of choices:
... choices = list(choices[:])
choiceLen = len(max(choices,key=len))
titleLen = len(title)
msgLen = len(msg)
maxLen = max(choiceLen,titleLen,msgLen)
...
root_width = int(maxLen * 10.)
Before install open
easygui.py
and edit element you want to have another size. (You can also reinstall and override it) This will be line likein the corresponfing function.
To be more flexible add width and height as parameters to the function.