Tkinter-Designer
Tkinter-Designer copied to clipboard
FR: Turn Buttons into Labels to avoid border issue
If we are using Buttons as an Image, then we should use Label
from tkinter import Label
# img
btn = Label(
image=img
)
btn.bind('<Button-1>', lambda _: print('Button was pressed'))
Can you create a pull request ? We can test how it works and then merge it.
I used it in https://github.com/omar2205/imgs-lottie and it works as expected.