Ana_wtk17 Ana_wtk17 - 2 years ago 138
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?

Answer Source

as per

highlightthickness= variable

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download