Hi,
I am building a small and simple drum sequencer for fun and to experiment with MVVM in Xamarin Forms.
The idea is that through databinding of the viewmodel sequencer lanes and steps are rendered in the view. For now the core project are referenced to an UWP project and Android project.
I tested the app in UWP.
Basically 2 collection views with some other grid and stackpanels with are applied to generate the lanes and the steps based on nested viewmodel objects. The steps toggle buttons that I found in the documentation of xamarin forms in the xamarin forms website.
However after the startup of the UWP app the first 'column' of the sequencer lanes the steps are not displayed (see image 1)

When I press on randomize the toggle is displayed because its value is changed. However there seems to be a sizing isue.

The repository of the app can be found to provide a full picture:
https://github.com/marinusklaassen/simpledrumsequencer
simpledrumsequencer
I made a code sample to provide a shorter illustration of the issue and of what I try to achieve:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:localcontrols="clr-namespace:SimpleDrumSequencer.Controls"
xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
xmlns:vm="clr-namespace:SimpleDrumSequencer.ViewModels"
x:Class="SimpleDrumSequencer.Views.SimpleDrumSequencerView"
<StackLayout>
<CollectionView ItemsSource="{Binding SequenceLanes}">
<CollectionView.ItemTemplate
ItemSizingStrategy="MeasureAllItems">
<DataTemplate>
<CollectionView Grid.Row="0" Grid.Column="1"
HeightRequest="50"
ItemsSource="{Binding SequenceSteps}"
>
<CollectionView.ItemsLayout>
<GridItemsLayout
Orientation="Horizontal"
/>
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate>
<Button/>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</DataTemplate>
</CollectionView.`enter code here`ItemTemplate>
</CollectionView>
</StackLayout>
</ContentPage>
The xaml code results in not displaying the first step/column of the lanes.

What can I do to solve this issue? Are there any work arounds that I can try? And am I on the right page to use the CollectionView?
Many thanks in advice!
With kind regards,
Marinus