DLToolkit.Forms.Controls icon indicating copy to clipboard operation
DLToolkit.Forms.Controls copied to clipboard

Can't prevent column expand

Open natsoragge opened this issue 6 years ago • 1 comments

I've tried using FlowColumnExpand="None" to prevent the columns from expanding but it didn't work. Follows the code:

<ContentView>

    <flv:FlowListView    
        RowHeight="180"
        FlowColumnMinWidth="110"
        FlowUseAbsoluteLayoutInternally="False" 
        FlowColumnExpand="None"
        FlowItemsSource="{Binding Categories}"
        FlowItemTappedCommand="{Binding OnGroupClicked}"
        FlowLastTappedItem ="{Binding LastTappedItem}">

        <flv:FlowListView.FlowColumnTemplate>
            <DataTemplate>
                <Frame Margin="5" BorderColor="Black">
                </Frame>
            </DataTemplate>
        </flv:FlowListView.FlowColumnTemplate>

    </flv:FlowListView>

</ContentView>

I'm using version 2.0.11. What am I missing?

natsoragge avatar Nov 23 '18 07:11 natsoragge

I am getting the same issue. I have a FlowListView inside a StackLayout. The second column is extending past it's parent. (StackLayout ) I take this back, The StackLayout doesn't play nice. Switched to a Grid and it's fine.

nick5454 avatar Feb 12 '19 20:02 nick5454