private void topLevelWindow_MouseMove(object sender, MouseEventArgs mouseEvent) { count++; if (count == 20) { RemoveAllChildren(); ScrollableWidget allContainer = new ScrollableWidget(true); topToBottomTotal = new FlowLayoutWidget(FlowDirection.TopToBottom); using (topToBottomTotal.LayoutLock()) { GuiWidget.DefaultEnforceIntegerBounds = true; AddInfoRecursive(topLevelWindow, topToBottomTotal); GuiWidget.DefaultEnforceIntegerBounds = false; } topToBottomTotal.PerformLayout(); allContainer.AddChild(topToBottomTotal); AddChild(allContainer); allContainer.AnchorAll(); } }