Ana_wtk17 Ana_wtk17 - 9 months ago 44
Python Question

How to add border to a button in python for Tkinter?

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?


as per

highlightthickness= variable

The width of the highlight border. The default is system specific (usually one or two pixels). (highlightThickness/HighlightThickness)