-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[RadioButton] Fix Issue with BorderWidth, Incorrect spacing in Default Control Template. #13407
Conversation
…ngs to fix border width not being applied.
…ioButton. Added padding to underlying grid to prevent clipping of RadioButton.
Thank you for your pull request. We are auto-formating your source code to follow our code guidelines. |
…rame, as well as test for three additional RadioButton properties.
Thank you for your pull request. We are auto-formating your source code to follow our code guidelines. |
…eated new test for BorderColorProperty, BorderWidthProperty, and CornerRadiusProperty
We looked at doing this when we went over to MAUI and determined that it didn't add enough value given that it would be a breaking change. |
Description of Change
This adapts a previously submitted PR that was closed before it was reviewed: #8292 The underlying Frame was changed to a Border to support BorderWidth attribute not working.
An addition of column spacing to the underlying grid fixes the ellipse being too close to the content text, and additional padding of the grid prevents it from clipping.
Question that arose:
According to docs for RadioButton, CornerRadius is set to be an integer: CornerRadius however, Corner Radius use double values: Corner Radius Constructor. Should I change the API to reflect this?
Issues Fixed
Fixes #8291