I have a Tkinter Toplevel window with three columns. All three columns are configured to have equal weight. Inside column 0
and 2
are sub-frames, inside which are Listbox
widgets. Inside column 1
is a set of buttons. For some reason, despite the fact that my 3 columns have equal weight, these Listboxes 'force' their columns to occupy more space.
I've written,
window.columnconfigure(0,weight=1) window.columnconfigure(1,weight=1) window.columnconfigure(2,weight=1)
But I get:
I've also given column 1
weights of 3 and 5, but it still remains small. However, having done this, it seems that columns 0
and 2
have some minimum size, then after subtracting that from the real width, the leftover width is used and divided by weight.
Is this a bug? Is there something I need to do to my lists? Might I be forgetting something?