Skip to content

Conversation

@Valer100
Copy link
Contributor

#126 was supposed to make the theme not change the menus' colors on Windows, but unfortunately the fix doesn't work. This is because tk_setPalette also affects menus and that fix just prevented the menus to not get the theme's menu-specific colors. For fixing them, we can set their background color to SystemMenu and their foreground to SystemMenuText. Unfortunately, for some reason, the menus don't respond to the <<ThemeChanged>> event on Windows unless they're displayed at least once. The best solution I could came with was to find menus recursively and style them accordingly in the configure_colors procedure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant