Update Sandbox.UI.Panel.ScrollSize and constrain Sandbox.UI.Panel.ScrollOffset to the given total bounds.
Custom layouts can call this from Sandbox.UI.Panel.FinalLayoutChildren(Vector2) to include content
that has no panel, such as offscreen rows in a virtual list.
Total scrollable bounds in screen pixels, including the viewport.
Each axis should be at least Box.Rect.Size; the viewport is subtracted to obtain the scroll range.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.