0

I'm trying to set a minimum width to a column in a grid, but it is having no effect:

labelProjectId = Tkinter.Label(frame, text="Id", background='white', borderwidth=1, relief="solid")
abelProjectId.grid(row=row, column=0, sticky=("W", "E"))
labelProjectId.grid_columnconfigure(0, minsize=200) # ???

What am I doing wrong?

Al Lelopath
  • 6,448
  • 13
  • 82
  • 139

1 Answers1

2

You are setting the minimum width for the grid inside the label. If you want to affect the column that the label is in, you must call grid_columnconfigure on its master.

Bryan Oakley
  • 370,779
  • 53
  • 539
  • 685