maui
maui copied to clipboard
Revert "[Windows] Fix default corner radius on Button"
Reverts dotnet/maui#9515
dotnet/maui#9515 Allows all the platforms to have the same default button border radius, but we want to keep the Windows default rounded corner style on buttons. Thanks @mattleibow and @PureWeen for spotting this! Also peer programmed with @rachelkang!
Before the revert (no rounded corners):
After the revert (rounded corners):
Fixes #10644
Hey there @tj-devel709! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.
Fixes #10644
/azp run
Azure Pipelines successfully started running 2 pipeline(s).
I added a small test to make sure the radius of the WinUI does not get set back to zero.
Small photo added since I didn't realize the default button corner radius set is -1 which is rounded as well!
/azp run
Azure Pipelines successfully started running 2 pipeline(s).
The value of -1 means default rounding. So whatever the OS decides.