Reputation: 79
b1 = Button(tk, text=" ", font=("Consolas 30 bold"), height = 1, width = 4,bg = "white", command=lambda:checker(b1))
What piece of code to I add to this to add a border to the button, as in making it thicker?
Upvotes: 2
Views: 17646
Reputation: 2403
as per http://effbot.org/tkinterbook/button.htm:
borderwidth= variable
The width of the button border. The default is platform specific, but is usually 1 or 2 pixels. (borderWidth/BorderWidth)
not to be confused with:
highlightthickness= variable
The width of the highlight border. The default is system specific (usually one or two pixels). (highlightThickness/HighlightThickness)
Upvotes: 5