keep elements X position fixed after scrolling javafx
<p>How can I keep an element always visible even after scrolling in a scrollPane, that means the node should be immovable after a horizontal scrolling.its position should be fixed. I have tried <a href="https://stackoverflow.com/questions/10238834/always-visible-when-scrolled-anchored-node-in-java-fx-2-0">this</a> but it doesn't work for my case , the elements still moving with scrolling, I'm adding a scrollPane which contains all the elements to an AnchorPane.</p>