diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r-- | Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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, |