I have a pretty basic Treeview
set up in Python:
self.tv = ttk.Treeview(top_frame, columns=("#","ID","Name"), selectmode = "browse" )
self.tv.heading('#1', text='#', anchor=W)
self.tv.heading('#2', text='ID', anchor=W)
self.tv.heading('#3', text='Name', anchor=W)
self.tv.column('#1',minwidth=70, width = 70, stretch=NO)
self.tv.column('#2', minwidth = 240, width = 240, stretch=NO)
self.tv.column('#3', minwidth=260, width = 260, stretch=NO)
self.tv.column('#0', minwidth=0, width=0, stretch=NO)
The problem I have is that the columns can be resized to make the treeview either wider than its container, or much more narrow. Both of which ruin the aesthetics of the whole thing.
From what I've read, stretch = NO
should be disabling this, but it is not. I'm testing the GUI on a Mac with Python 2.7.9. I know certain widgets just plain don't work 100% on a Mac, so am I doing something wrong, or is that all I can expect?