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

[BUGFIX] Color changer #11

Open
maximalmaxx opened this issue Nov 3, 2024 · 0 comments
Open

[BUGFIX] Color changer #11

maximalmaxx opened this issue Nov 3, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right wontfix This will not be worked on

Comments

@maximalmaxx
Copy link
Owner

Issue: Color Theme Change Not Applying After UI Load in CustomTkinter

Description:
In the CustomTkinter framework, the method ctk.set_default_color_theme(selected_color) is intended to allow users to change the color theme of the application (blue, green, dark-blue). However, within the refresh_ui(component) function (line 312), using this method does not seem to have any effect after the UI has been loaded.

Current Behavior:

  • The color theme can be successfully changed in the load_settings() function before the UI initializes.
  • Once the UI is loaded, changing the color theme requires restarting the application for the new theme to take effect.

Expected Behavior:

  • Users should be able to change the color theme in the settings menu, and the changes should be applied immediately in the UI without needing to restart the application.

Proposed Solution:
Investigate and modify the implementation in the refresh_ui(component) function to ensure that changes made to the color theme take effect dynamically after the UI has been loaded.

Thanks,
maximalmaxx

@maximalmaxx maximalmaxx added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right wontfix This will not be worked on labels Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant