Jul-25-2018, 03:24 AM
With proper use of grid geometry and sizing weights you can control geometry in tkinter, but it's quite difficult to get it right. This is the main reason why I switched to wxpython phoenix where resizing, docking and undocking, and many other things are so much easier, not to mention the large library of widgets. Qt5 is also a great GUI library, written in C, but has excellent python support (pyQt5), and reciently announced even greater support for python.
I use either a tkinter treeview or list view in this program: https://github.com/Larz60p/CaliforniaPublicSalaries
and figured out pretty much how to properly size the view. But even here, resizing doesn't work properly.
You might be able to garner something from this, it was written quite a while ago, so not so sure of it's value.
This would have been a one night project if I had used wxpython.
I use either a tkinter treeview or list view in this program: https://github.com/Larz60p/CaliforniaPublicSalaries
and figured out pretty much how to properly size the view. But even here, resizing doesn't work properly.
You might be able to garner something from this, it was written quite a while ago, so not so sure of it's value.
This would have been a one night project if I had used wxpython.