Skip to content Skip to sidebar Skip to footer

Removing Line Separation Of Widgets On Tkinter

I have this code but there are lines separating the text widget to the root. How would I remove those lines so it is seamless? import Tkinter, tkFont root=Tkinter.Tk() root.geomet

Solution 1:

You can use borderwidth with highlightthickness or relief options. Either one should work.

text = Tkinter.Text(root, ... , relief="flat")

text = Tkinter.Text(root, ... , borderwidth=0, highlightthickness=0) #thanks to Bryan Oakley

If you want to check out other options of widgets, you should take a look at effbot

Post a Comment for "Removing Line Separation Of Widgets On Tkinter"