-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix for button cornerradius 0 on android #18959
Conversation
… used default cornerradius of 6, when set to 0.
Hey there @WdeBruin! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
When will this be reviewed? @hartez @mattleibow |
It still needs a device test I suppose, that is in progress |
@WdeBruin feel free to ping me when you get it done! |
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 for the PR.I think I saw this and thought it was the same PR and wondered where my comments went :)
Just marking this as needs changes so we don't merge this too quickly. It is just waiting on your tests. Shout if we made the test code to weird 😆
if (button.StrokeThickness > 0) | ||
mauiDrawable.SetBorderWidth(button.StrokeThickness); |
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.
Does this also need to be changed? Sure, this PR is not meant for both because of the issue, but maybe both can be fixed at the same time? Not sure if you observed strange things with borders?
If you would like to keep these 2 things separate, the that is good. I'll just create an issue so we don't miss it.
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.
One problem at a time, man.
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.
I noticed this as well, but didn't find an issue related to it. So I am unsure if strange things happen here, to be checked.
Added a test @jfversluis On the test itself, two things to consider:
|
@dotnet-policy-service agree |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Done? Or anything else you need from me for this one to cross the finish line? @mattleibow @jfversluis |
Congratulations @WdeBruin on your very first .NET MAUI contribution! Go add ".NET MAUI code ninja" to your LinkedIn and have some of our delicious virtual cake 🍰 Thank you so much for your time, effort and patience on this! Those are all very much appreciated. |
Corner radius fix was working in 8.0.6-nightly.9876, but no longer working in 8.0.6 for Android. I thought the github Merged label and the fact that the fix was part of nightly build meant it will be included in the next SR? 8.0.6-nightly.9876 screenshot 8.0.6 Screenshot Code for above: https://github.com/DawidBester/ButtonCornersTest |
Fixed in version 8.0.7 (.net 8.0) |
Description of Change
Issue:
Cornerradius was ignored when equal to 0 on Android.
Reason:
Fix:
Issues Fixed
Fixes #18807
Fixes #18090
Fixed #19052
Fixes #19421