daniel-luberda / DLToolkit.Forms.Controls

Xamarin.Forms Custom Controls
Apache License 2.0
393 stars 182 forks source link

Wrong layout... #210

Open vd3d opened 6 years ago

vd3d commented 6 years ago

Hi,

I use this simple code, inspired from your sample :

<ns_fl:FlowListView
    FlowColumnCount="4" SeparatorVisibility="None" HasUnevenRows="false"
    FlowItemsSource="{Binding Publications}" BackgroundColor="Pink" >
    <ns_fl:FlowListView.FlowColumnTemplate>
        <DataTemplate>
            <ns_ff:CachedImage Aspect="AspectFit" DownsampleUseDipUnits="false" Source="{Binding MediaImageSource}"/>
        </DataTemplate>
    </ns_fl:FlowListView.FlowColumnTemplate>
</ns_fl:FlowListView>

But there is a big "free" space on the top of my images. It looks related to the scrollview from your ns_fl:FlowListView, because the background is 'pink' (see the XAML code)

image

Any idea why ?