-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow changing shape of slider handle #3429
Conversation
YgorSouza
commented
Oct 2, 2023
•
edited by emilk
Loading
edited by emilk
- Closes Change slider indicator to a rounded rect #1974
9327c1b
to
6f8d501
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but adding the settings to every WidgetVisuals
seems overkill - I think the belongs in Visuals
instead
6f8d501
to
e56dcc1
Compare
I thought about that, but I figured maybe someone could want to change the aspect ratio or shape when the slider is hovered or clicked, as an alternative to the |
Make it follow the same logic as the trailing_fill. So now it also has an override method on the slider, and an example in the demo.
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>