ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
8.87k stars 817 forks source link

How do I make my program go fullscreen and is tthere anything similar like relheight,rel width, relx, rely? #236

Closed Ar998-max closed 1 year ago

Ar998-max commented 2 years ago

It copies the dimensions of the figma project but I want it to resize itself accordingly to the size of the screen. And I am not able to find the things I listed above, so is there anything similar to do what I want?

JawadPy commented 2 years ago

the project doesn't support this future as I remember, you have to do it manually.

HackingAllYT commented 2 years ago

How would u do it manually?

ernadosmic commented 2 years ago

This worked for me.

window = tk.Tk()
window.attributes('-fullscreen', True)
ParthJadhav commented 1 year ago

Thanks @ernadosmic