Aug-17-2022, 05:19 PM
Hi,
I have developed a tkinter app that is suposed to work on 1920x1080 and 1920x1200 PCs (windows).
Using :
I suspect it's the button font size that causes the problem.
Question: does the font size of a widget (button) take priority on whatever resizeing you do
on the root window dimensions.
Is there such a thing a "proportional font sizes", or do I make a statement like:
if it is 1920x1082 use size 14, if it is 1920x1200 use font size 18 ?
thx,
Paul
I have developed a tkinter app that is suposed to work on 1920x1080 and 1920x1200 PCs (windows).
Using :
width= root.winfo_screenwidth() height= root.winfo_screenheight() root.geometry(f'{width}x{height}')I can manage that, but a vertical row of buttons sqeezes out the 2 bottom ones on 1920x1080 because the develoment pc is 1920x1200..
I suspect it's the button font size that causes the problem.
Question: does the font size of a widget (button) take priority on whatever resizeing you do
on the root window dimensions.
Is there such a thing a "proportional font sizes", or do I make a statement like:
if it is 1920x1082 use size 14, if it is 1920x1200 use font size 18 ?
thx,
Paul