问题 I can't figure out how to control the width of the widget I can't make it display only 2 columns from Tkinter import * from ttk import Treeview root = Tk() tree = Treeview(root, height = 10, columns = 2) tree['columns'] = ('one','two') tree.column('one', width = 50) tree.column('two', width = 50) tree.heading('one', text = 'UserName', anchor = 'center') tree.heading('two', text = 'ID', anchor = 'centeenter code herer') tree.grid(row = 3, column = 0) root.mainloop() 回答1: That first column is