White line through optionmenu White line through optionmenu tkinter tkinter

White line through optionmenu


That "line" is theLabel. Both it and mainframe have been put in row 0, column 0 of the root window.

You can see this more clearly if you give theLabel some text. Because it doesn't have any text, it appears as a fairly small rectangle. Because it was added after mainframe was added to root, it appears on top of mainframe.