-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
non uniform border radius for quads #1506
non uniform border radius for quads #1506
Conversation
This feature is quite useful to for example render more sophisticated buttons. It's similar to the CSS border-radius property. Happy to address potential concerns. |
3875a46
to
15f2164
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.
This is awesome! 🥳 Thank you.
I have added your custom_quad
as an official example as well.
Thanks for adding this! Stoked to see how much development is happening around iced! |
This allows quads to be rendered with different border radius values. It only modifies quads, not yet any widgets based on that. I tried to open a discussion about the implications of changing the API of widgets such as button over here but didn't receive any feedback.
A project showing the use of that can be found over here: https://github.com/rksm/iced-non-uniform-border-radius.