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

Scrollbars do not set dark theme on Windows #153

Open
dwelden opened this issue Dec 30, 2024 · 4 comments
Open

Scrollbars do not set dark theme on Windows #153

dwelden opened this issue Dec 30, 2024 · 4 comments

Comments

@dwelden
Copy link

dwelden commented Dec 30, 2024

On Windows, set dark theme is not working on tk.Scrollbar.

image

Windows version 10.0.19045.5131
Python version 3.11.2
sk-ttk version 2.6.0

@Valer100
Copy link
Contributor

Valer100 commented Jan 3, 2025

The theme only works with ttk widgets. Try importing ttk from tkinter and use ttk.Scrollbar.

@dwelden
Copy link
Author

dwelden commented Jan 3, 2025

Oddly enough, the theme works fine on Linux using tk.Scrollbar

image

@Valer100
Copy link
Contributor

Valer100 commented Jan 3, 2025

The tk widgets only get the color scheme. I think the tk version of the Scrollbar isn't very customizable on Windows and maybe that's why it isn't getting the color scheme. Did you try the ttk version of it?

@dwelden
Copy link
Author

dwelden commented Jan 3, 2025

Not yet. I will also have to swap out each instance of ScrolledText as it has same issue.

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