[WinUI] CollectionView GridItemsLayout Shows 6 Columns Even When Span is Set to 7, When Display Scale is Set to 125% or 150% #23684
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/windows 🪟
s/needs-attention
Issue has more information and needs another look
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Description
In Windows, when display scale is set to 125% or 150%, CollectionView shows 6 columns even though the GridItemsLayout's span attribute is set to 7. It behaves properly when display scale is set back 100%.
Steps to Reproduce
Actual Result: A Grid with 6 Columns
Expected Result: A Grid with 7 Columns
Link to public reproduction project repository
No response
Version with bug
8.0.60 SR6
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.22621.0
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: