You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
- fixes#5046
* Fixed#5046 - Button CornerRadius doesn't work in explicit style
* Added Unit Test
* Requested changes from PR
* Moved UnitTest to Xamarin.Forms.Xaml.UnitTests
* Update Xamarin.Forms.Xaml.UnitTests/ButtonCornerRadius.xaml.cs
Co-Authored-By: Stephane Delcroix <stephane@delcroix.org>
* Do not add ButtonCornerRadius in csproj
* removed dangling changes in ButtonUnitTest.cs
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Applies to Windows UWP only.
When you have
Then, the CornerRadius gets set to a value of 5, ignoring the value that is set in the explicit style.
Steps to Reproduce
Add some code to a page with both an implicit button style (no key), and an explicit button stlye (has a key).
Add a button that references the explicit style.
Sample code:
Expected Behavior
The CornerRadius from the button's explicit style is used. In the example above, the CornerRadius should be 0.
Actual Behavior
The CornerRadius from the button's explicit style is not used. In the example above, the CornerRadius is 5.
Basic Information
Screenshots
The text was updated successfully, but these errors were encountered: