Basically tkinter doesn't accommodate for high dpi monitors. So in reality when you specify (800x800) it might be (920x920) that is actually show on your monitor.
When I used your app to make a tkinter gui, the spacing and everything was good, but the geometry I specified in figma wasn't what was actually being show on screen and was much larger than my actual display.
attached is a zip file that has what your app created (with comment code to change the dpi so you can see the difference). It also 2 images, one that shows what the original code did, and one that adjusts tkinter's dpi setting to make the window the correct size.
I was wondering if the app could take into account this inconsistency when making the tkinter gui so that the code it produces is the correct size and the text is correctly placed.
This is actually an issue with Tkinter itself as detailed in this post on stack:https://stackoverflow.com/questions/41315873/attempting-to-resolve-blurred-tkinter-text-scaling-on-windows-10-high-dpi-disp
Basically tkinter doesn't accommodate for high dpi monitors. So in reality when you specify (800x800) it might be (920x920) that is actually show on your monitor.
When I used your app to make a tkinter gui, the spacing and everything was good, but the geometry I specified in figma wasn't what was actually being show on screen and was much larger than my actual display.
attached is a zip file that has what your app created (with comment code to change the dpi so you can see the difference). It also 2 images, one that shows what the original code did, and one that adjusts tkinter's dpi setting to make the window the correct size.
build.zip
I was wondering if the app could take into account this inconsistency when making the tkinter gui so that the code it produces is the correct size and the text is correctly placed.