I am making a survey app. that creates different pages (each
page is a VBox and the pages are manged via a ViewStack component).
Each question in a given page is added to the page VBox. In
some cases, depending on the question type, it may have additional
HBox or VBox components. Thus, I need to disable the scrollers in
some cases (leaving the scrolling to the page VBox).
Set horizontalScrollPolicy and verticalScrollPolicy
properties on the relevant containers.
If a brief answer doesn't cover what you were asking, post a
bit more about the context of the problem (are you adding the
containers at runtime, are you binding the scroll policy
properties, etc)... :-)