Is it possible to move vertically and horizontally without using scrollbar in ScrollPane
i want to scroll when left mouse button pressed and mouse moved to right, left, top and down . Should i add listener or something like that ?
thanks in advance.
Just call
scrollPane.setPannable(true);
or, if you are using FXML
<ScrollPane pannable="true" ... >
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With