UIScrollView.AddChild(IUIComponent) Method
Definition
Namespace: Brine2D.UI
Adds a child component to the scroll view. Child positions are relative to the scroll view's content area.
Parameters
child IUIComponent
Remarks
\<b>Known limitation:\</b>UIDropdown widgets placed inside a UIScrollView will have their expanded item list clipped by the scroll view's scissor rectangle. As a workaround, avoid nesting dropdowns inside scroll views; use a list-box pattern \(e\.g\. a [UIScrollView](index.md 'Brine2D\.UI\.UIScrollView') containing [UIButton](../UIButton/index.md 'Brine2D\.UI\.UIButton') rows\) instead.