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

Theme doesn't apply itself #17

Closed
im-coder-lg opened this issue Jan 22, 2022 · 2 comments
Closed

Theme doesn't apply itself #17

im-coder-lg opened this issue Jan 22, 2022 · 2 comments

Comments

@im-coder-lg
Copy link

im-coder-lg commented Jan 22, 2022

Hi,

I am trying to develop a simple popup window for TimerX.
Development code here. I accomplished so much in that, so I tried adding the Ttk to it.
Yeah, I know it's not a real popup yet, but back to the issue.
I got the theme code, v1.0.0 if you were going to ask and added it, did all the extravaganzas to set it up. However, on Replit as well as my local Windows 7 machine(which can very well display the theme), it doesn't apply itself. Do you have a fix for this? Or is the solution simple?

Edit: Changed to the latest source code but still fails.

@rdbende
Copy link
Owner

rdbende commented Jan 22, 2022

Of course, it does not apply itself, since you just imported it but didn't specify which theme it should use. You have to use this call to set the theme:

app.tk.call("set_theme", "dark")

@rdbende rdbende closed this as completed Jan 22, 2022
@im-coder-lg
Copy link
Author

It seems to work now, thanks! I knew the solution was simple. Too quick to see that lol.

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

No branches or pull requests

2 participants