Skip to content

UIScrollView.AutoFitContent Property

Definition

Namespace: Brine2D.UI

When true, ContentHeight and ContentWidth are automatically recalculated via FitContentToChildren() every time a child is added or removed. This is the recommended setting for dynamic lists. Defaults to false to preserve the previous manual behaviour.

C#
public bool AutoFitContent { get; set; }

Property Value

System.Boolean