Mar-26-2021, 09:32 PM
That is not a good way to make a full screen window. A better way is to use .attribute()
window.attributes('-fullscreen',True)Or if you want to use geometry, use "winfo_screenwidth" and "winfo_screenheight" to get the screen dimensions.
width= window.winfo_screenwidth() height= window.winfo_screenheight() window.geometry(f'{width}x{height}')The problem with hardcoding a number is it will not work on different resolution monitors.