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

is_selected property for Radio StyleSheet #1331

Merged
merged 2 commits into from
Oct 5, 2022
Merged

Conversation

ThisIsRex
Copy link
Contributor

Added an is_selected property to the Radio's StyleSheet to allow setting a custom border color and hover background for the selected Radio widget.

before:
изображение

after:
изображение

@hecrj hecrj added this to the 0.5.0 milestone May 4, 2022
@ThisIsRex
Copy link
Contributor Author

Added #[derive(Debug, Clone, Copy)] to the toggler::Style

Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Nice small addition! 🎉

I have rebased on top of master and adapted the code to work with the latest theming changes (see #1362).

Let's merge! 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request styling widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants