Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Turn Buttons into Labels to avoid border issue #193

Open
omar2205 opened this issue Feb 9, 2022 · 2 comments
Open

FR: Turn Buttons into Labels to avoid border issue #193

omar2205 opened this issue Feb 9, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@omar2205
Copy link

omar2205 commented Feb 9, 2022

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'))
@ParthJadhav
Copy link
Owner

Can you create a pull request ? We can test how it works and then merge it.

@ParthJadhav ParthJadhav added bug Something isn't working help wanted Extra attention is needed labels Feb 20, 2022
@omar2205
Copy link
Author

I used it in https://github.com/omar2205/imgs-lottie and it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants