diff options
-rw-r--r-- | Xamarin.Forms.Core/ListView.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/ListView.cs b/Xamarin.Forms.Core/ListView.cs index 3d29033a..71feea68 100644 --- a/Xamarin.Forms.Core/ListView.cs +++ b/Xamarin.Forms.Core/ListView.cs @@ -329,7 +329,11 @@ namespace Xamarin.Forms protected override void SetupContent(Cell content, int index) { base.SetupContent(content, index); + var viewCell = content as ViewCell; + if (viewCell != null && viewCell.View != null && HasUnevenRows) + viewCell.View.ComputedConstraint = LayoutConstraint.None; content.Parent = this; + } protected override void UnhookContent(Cell content) |