This story was originally published on HackerNoon at:
https://hackernoon.com/fixing-button-cornerradius-in-net-maui.
With .NET MAUI I tried to implement square 90 degree corners on buttons. Sadly I encountered a bug. I looked under the hood and fixed the issue including tests.
Check more stories related to tech-stories at:
https://hackernoon.com/c/tech-stories.
You can also check exclusive content about
#.net,
#.net-maui,
#cornerradius-button,
#software-architecture,
#mobile-app-development,
#open-source-software,
#contributing-to-open-source,
#cross-platform-app-development, and more.
This story was written by:
@wdebruin. Learn more about this writer by checking
@wdebruin's about page,
and for more stories, please visit
hackernoon.com.
CornerRadius on Android buttons did not work when the radius was set to 0. I fixed the issue and wrote a device test.