WinUI 2 Gallery makes all controls's corner radius 8, deviating from fluent design spec #957
Closed
2 of 13 tasks
Labels
winui2
Tracks issues in the winui2 branch
Describe the bug
WinUI 2 Gallery is overriding
ControlCornerRadius
inApp.xaml
, causing all controls to have a corner radius of 8.Steps to reproduce the bug
Just launch the app and observe button or check boxes.
Expected behavior
ControlCornerRadius
stays at 4. If some specific control needs to have a corner radius of 8, customize the resources only for that control.Actual behavior
Screenshots
You can see WinUI 2's button is rounder, whereas WinUI 3 is "normal", having a corner radius of 4, as defined in WinUI 2.6+ styles.
Gallery version (found on Settings page):
WinUI 2 Gallery 1.2.24.0
Windows 10 version:
(Shouldn't the template be updated to say Windows 11?)
Device form factor:
Additional context
A UWP community member @yoshiask noticed that the change is introduced in 4fea127, and his guess for the bug is, lemme quote:
If this is indeed the case, simply moving the
ControlCornerRadius
override toHeaderTiles.xaml
should fix it while keeping the desired behavior.The text was updated successfully, but these errors were encountered: