-
-
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
Checkbox label is now Into<String>
#260
Conversation
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.
Cool! I forgot about changing this.
Could you do the same for the Radio
widget?
f5cc1da
to
b1f484b
Compare
Done. By the way, would you mind refactoring the text in the same manner as it is done for normal push button? I mean so that Checkbox would accept When working on my project I already hacked an option to set the color of the text. |
b1f484b
to
2cdd454
Compare
2cdd454
to
15f5b93
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.
Thanks!
Eventually, I believe we will change Checkbox
to only be the actual checkbox without any text. Also, Radio
needs to change to address #71.
This PR allows checkbox labels to be dynamically modified depending on the business logic.
For example: