- Notifications
You must be signed in to change notification settings - Fork29.3k
Make sure that a RadioMenuButton doesn't crash in 0x0 environment#176516
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
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.
Code Review
This pull request adds regression tests to ensure thatRadioMenuButton
andCheckboxMenuButton
do not crash when placed in a zero-sized environment. The added tests are clear, concise, and correctly reproduce the scenario described in the associated issue, improving test coverage for these edge cases. The changes look good.
This is my attempt to handle#6537 for the RadioMenuButton widget.