Item Spacing still exists even when ItemSpacing is 0
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WhereIsImage"
mc:Ignorable="d"
x:Class="WhereIsImage.XF">
<CollectionView BackgroundColor="Blue">
<CollectionView.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Baboon</x:String>
<x:String>Capuchin Monkey</x:String>
<x:String>Blue Monkey</x:String>
<x:String>Squirrel Monkey</x:String>
<x:String>Golden Lion Tamarin</x:String>
<x:String>Howler Monkey</x:String>
<x:String>Japanese Macaque</x:String>
</x:Array>
</CollectionView.ItemsSource>
<CollectionView.ItemsLayout>
<GridItemsLayout Orientation="Vertical" Span="1" HorizontalItemSpacing="0" VerticalItemSpacing="0" />
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate>
<Label Text="{Binding}" BackgroundColor="AliceBlue"/>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</ContentPage>
No spacing exists between items
Spacing exists
Also making the item spacing bigger seems to have no effect. Looks like this isn't built yet or doesn't work properly.
cc: @jsuarezruiz
LinearItemsLayout also has the same problem.
@jfversluis @jsuarezruiz Fixed with #8839.
Great work @velocitysystems! Thanks for the effort :)
closed by #8839
Most helpful comment
@jfversluis @jsuarezruiz Fixed with #8839.