Augmenting/Creating custom skins based on VirtualFlow or controls that use VirtualFlow (e.g ListView, TableView) would be greatly simplified if the scroll bars were able to be detached from the VirtualFlow. This essentially allows you create your own scroll pane using the scroll bars from the VirtualFlow. This would greatly simplify tasks like creating row headers and footers for tables and lists.
Once detached, the detacher would be responsible for adding the scrollbars to the scene graph and laying them out.
Currently the code that adjusts the flow's layout to accommodate the scrollbars is cleanly contained in one function that is responsible for nothing else.
Once detached, the detacher would be responsible for adding the scrollbars to the scene graph and laying them out.
Currently the code that adjusts the flow's layout to accommodate the scrollbars is cleanly contained in one function that is responsible for nothing else.