Anyone got an idea of how to correctly calculate t...
# tornadofx
p
Anyone got an idea of how to correctly calculate the offset of the contents of a
scrollpane
? I.e. if I scroll downwards vertically, how much have the contents moved upwards? Right now I'm using
pane.vvalue * pane.content.boundsInParent.height
but it doesn't scale correctly - the more I scroll, the more the calculated value overshoots the correct value