-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Make slider colors themable #20308
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
Make slider colors themable #20308
Conversation
Good stuff! I will review this properly in a couple of days, sorry for the delay. |
I'm now contemplating whether the knob and the label should be colored differently from the filled bar if the slider is not focused / down ... 🤔 I also forgot to handle the case when the slider isn't enabled. |
Hm, well, the disabled case is not very interesting, it never happens now because we disable the button that cause the popup. I think we can leave it for later. As for the focused, let me know if you want to change it or not. I'll test this first, but from what I can tell I'm fine with how this is turning out. |
I'm ok with the way it is right now for 1.19, I'm worried about over-complicating things if I make further changes. Don't forget to adjust the slider colors in Default / Dark. |
OK! I'll try to get this in this afternoon. |
As I said in op I'll get the updates to my custom themes in later, because some other changes were also made. |
Oh ok, those are pretty good. |
I'll adjust the colors in Default/Dark in my next PR. |
Improves #18802 .
My proposed solution for the slider highlight problems.
This is an improved version of what I showed at #18802 (comment)
This implementation allows for, better customization and somewhat accurate simulation of v1.14.4 (or even the current) behavour.
What this PR does:
What this PR doesn't do:
Note:
I only implemented 1 common color for both focused and down popup sliders because we can't directly switch from either state to the other. The same applies to other GUI elements, so I'm assuming this is intended behavour.
Screenshots of focused sliders inside popups.
