Fix CornerRadius Mismatch Between GridViewItem and Its ItemTemplate
ItemTemplates.xaml uses an 8px corner radius, while the GridViewItem itself uses 4px. This difference is visible when hovering over the item.
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Before:
After:
Thank you @Zakariathr22 Good catch! I missed applying it earlier, it’s all fixed now.
Why not use the CornerRadius property directly? With Static resource for Overlay.
Why not use the CornerRadius property directly? With Static resource for Overlay.
Since it's been 2 weeks, if I remember correctly I tried to set CornerRadius in GridViewItem, but it didn't work and I used lightweight styling.
/azp run
/azp run
/azp run