protected override void OnReallocate () { if (child != null && !child.SupportsCustomScrolling) Backend.SetChildSize (child.Surface.GetPreferredSize (SizeConstraint.Unconstrained, SizeConstraint.Unconstrained)); base.OnReallocate (); }