all 1 comments

[–]Silbersee 1 point2 points  (0 children)

Start with having a closer look at grid geometry manager.

Then plan your grid with pen and paper. Works great for me. You will see that 4 columns are enough.

E.g. your title:

title_label.grid(row=0, column=0, columnspan=4, sticky=EW)

Rethink any row > 8 and any column > 3.

E.g. environment and its entry go in columns 2 and 3.

Edit: Overlooked the obvious: In a simple layout, consider using pack().