If two labels are inserted in succession, a certain space is formed between them, but I need to remove this space so that the texts of the first and second practically touch each other. Already tried everything: I asked them HeightRequest, and put each Label in their own separate StackLayout and asked the HeightRequest StackLayout, put Margin = "0", Padding = "0", VerticalOptions = "FillAndExpand" everywhere, Spacing = "0", but the problem could not be solved.
<StackLayout> <ListView HasUnevenRows="True" ItemsSource="{Binding DataItems}" SelectedItem="{Binding PickEvent, Mode=TwoWay}"> <ListView.ItemTemplate> <DataTemplate> <ViewCell> <ViewCell.View> <StackLayout Padding="0"> <StackLayout HeightRequest="10" Padding="0" Margin="0" Spacing="0" VerticalOptions="FillAndExpand"> <Label Text="{Binding Date}" Margin="0" Style="{StaticResource Grey}" VerticalOptions="FillAndExpand" /> </StackLayout> <StackLayout HeightRequest="10" Padding="0" Margin="0" Spacing="0" VerticalOptions="FillAndExpand"> <Label Text="{Binding Title}" Margin="0" Style="{StaticResource h1}" VerticalOptions="FillAndExpand" /> </StackLayout> </StackLayout> </ViewCell.View> </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView> </StackLayout> Tell me how to solve the problem, if at all possible?