Nov-25-2019, 11:41 AM
(This post was last modified: Nov-25-2019, 11:41 AM by steve_shambles.)
I write my code in Windows 7 using IDLE on Python v3.67.
When I try out Tkinter code on Linux Mint 19.1, also using Idle and Python 3.67,
the GUI window of my programs always come out too small,
typically not wide enough and not long enough.
The screen resolution I use on both OS's are the same.
Is this problem normal?
I fix the problem by checking the platform and each having their own window geometry,
but it just doesn't feel right.
Example:
When I try out Tkinter code on Linux Mint 19.1, also using Idle and Python 3.67,
the GUI window of my programs always come out too small,
typically not wide enough and not long enough.
The screen resolution I use on both OS's are the same.
Is this problem normal?
I fix the problem by checking the platform and each having their own window geometry,
but it just doesn't feel right.
Example:
1 2 3 4 |
if sys.platform.startswith( 'win' ): root.geometry( '464x632' ) else : root.geometry( '517x663' ) |