From 22e4b3bd6d40ffc3d29a5a072ebb0ae7f8f7783a Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Tue, 5 Apr 2016 11:18:24 -0700 Subject: Merge pull request #44 from xamarin/fix-bz39499 Fix bz39499 --- Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Xamarin.Forms.Platform.Android') diff --git a/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs index d563b7ff..a98126f9 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs @@ -650,6 +650,8 @@ namespace Xamarin.Forms.Platform.Android var renderer = _view as IVisualElementRenderer; renderer.Element.Layout(position.ToFormsRectangle(_layout._context)); + // causes the private LAYOUT_REQUIRED flag to be set so we can be sure the Layout call will properly chain through to all children + Measure(position.Width, position.Height); _layout.LayoutDecorated(_view, left: position.Left, top: position.Top, -- cgit v1.2.3