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

Highlightbackground not adapting to the dynamic bg changes. #27

Closed
Saadmairaj opened this issue May 19, 2021 · 1 comment
Closed

Highlightbackground not adapting to the dynamic bg changes. #27

Saadmairaj opened this issue May 19, 2021 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Saadmairaj
Copy link
Owner

Describe the bug
When re-changing the background colour of the button, Highlightbackground should change to a lighter/darker shade of bg but doesn't change.

To Reproduce

from tkinter import Tk
from tkmacosx import Button

root = Tk()
B0 = Button(root, text='Button', bg='yellow')
B0['bg'] = 'pink'
B0['command'] = lambda: B0.configure(bg="lightgreen")
B0.pack(padx=10, pady=10)
root.mainloop()

Expected behavior
The highlightbackground should change to a lighter/darker shade of bg

  • OS: 11.3 big sur
  • Version: <=1.0.2
@Saadmairaj Saadmairaj added the bug Something isn't working label May 19, 2021
@Saadmairaj Saadmairaj assigned Saadmairaj and unassigned Saadmairaj May 19, 2021
Saadmairaj referenced this issue May 19, 2021
Remove apdative highlightbackground, trigger on _bg_ change.
@Saadmairaj Saadmairaj added the wontfix This will not be worked on label May 20, 2021
@Saadmairaj
Copy link
Owner Author

Saadmairaj commented May 20, 2021

Feature removed due to its inconsisstency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant