Reputation: 53
As an example, I have an entry, and several optionmenus located below a treeview widget. I am using the grid manager, and the treeview has a columnspan equal to all the widgets along it's lower side.
Since specifying the width of an entry or an optionmenu is in characters (the width in px of those characters is in turn based on the font size/family chosen for the widgets), and specifying the width of a column in a treeview is in pixels, how can I calculate the lengths of both a column and the widget underneath it so that they are visually linked by their positions (the length being the same)?
Upvotes: 0
Views: 729
Reputation: 21
I found a great example of treeview. It might help to provide some insight. Here is the link
Create a table using treeview with control of column widths
Upvotes: 1