ScrollBar & visibleAmount & value

Tom Schindl tom.schindl at bestsolution.at
Mon Sep 2 13:38:17 PDT 2013


Hi,

Before fileing a bug I wanted to post here because maybe I get this
completely wrong.

Say we have have a scrollbar with min = 0 & max = 100 & visualAmount =
50. I would have expected like in Swing & SWT that the maximum value of
the scrollbar is 50 (=max - visualAmount) but the value is still 100.

Is this desired or an oversight? I can work around this problem by
calculating the value back using ((max-visualAmount)/max)*value but like
I said this is unexpected when coming from the other toolkits.

Tom


More information about the openjfx-dev mailing list