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

Feature request: Add a mode to fill the slider from an upper-end #21

Closed
Shulyaka opened this issue Jun 7, 2020 · 3 comments
Closed

Comments

@Shulyaka
Copy link

Shulyaka commented Jun 7, 2020

Hi!

Currently, in the single slider mode, the slider is filled with blue from the lower bound (i.e. min) up to value, and with gray color between the value and max. That could represent to the user that something (e.g. a heater) is active below the setpoint. However if you want to represent an AC unit, which is active above the setpoint instead, I think it would be more natural to fill in the upper arc with the color instead of the lower arc.
The rtl does not help with this case because flipping rtl also flips the sides of min and max values which is not desired.

@thomasloven
Copy link
Owner

Can't you just change the bar and path colors?

@Shulyaka
Copy link
Author

Yes, that could be a workaround, however:

  1. It would be just more convenient to have a property
  2. Wouldn't that also change the appearance of disabled mode?

It's up to you to decide whether the idea worth it or not, of course.

@Shulyaka
Copy link
Author

Thank you!

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