Aug-17-2022, 05:51 PM
(This post was last modified: Aug-17-2022, 05:51 PM by deanhystad.)
You can define a font to use for all your controls and at startup set that to be 14 or 18 points. You can do the same thing with a style. Either way, you have to write the code that decides what font to use. Tkinter will not do that. I do not think this is a good idea.
The correct answer is that your application should be resizeable to some minimum size that will work at all reasonable screen resolution without changing font sizes. Your windows should be resizeable by your user, and you should use layout managers that move and resize the widgets based on the size of the window, not the size of the screen. If you have layouts that cannot be resized nicely they should have scrollbars so you can move the larger scrolled view around to look at different parts (like looking at a large document in a text editor).
User interface design is not easy.
The correct answer is that your application should be resizeable to some minimum size that will work at all reasonable screen resolution without changing font sizes. Your windows should be resizeable by your user, and you should use layout managers that move and resize the widgets based on the size of the window, not the size of the screen. If you have layouts that cannot be resized nicely they should have scrollbars so you can move the larger scrolled view around to look at different parts (like looking at a large document in a text editor).
User interface design is not easy.