Borderwidth in Tkinter Button
You can change Borderwidth of a button using bd command.
******Your code Below*****
from tkinter import *
root= Tk()
root.title("Button Borderwidth")
root.config(background="#FFF8DC")
root.geometry("900x400+350+86")
btn= Button(root, text="Click Me", font=("Times", 30, "bold"),bd=20)
btn.pack(pady=20)
root.mainloop()
********End Code**********
Write Down Code Your Code Editor. To show Your Output. If Use Pycharm Press Shift+F10 and Show Your Output.
You Can Change border value As Your Wish.
Enjoy..............
If You can learn Plz Visit www.newpost24.com
If You Find More Plz Visit This Page.
Post a Comment