Aha! I found the key - I was missing the weight argument:
1 from Tkinter import *
2 import os, shutil, tkFileDialog, tkMessageBox
3
4 class TkSync:
5 def __init__(self, root):
6 self.sbox = Listbox(root)
7 self.sbox.grid(row=0, column=0, sticky=N+S+E+W)
8
Hi,
I'm writing a Tkinter program and having severe problems with getting
my listbox to expand when I resize the window.
Here's my code so far:
1 from Tkinter import *
2 import os, shutil, tkFileDialog, tkMessageBox
3
4 class TkSync:
5 def __init__(self, root):
6 self.sbo