ScrollBar & visibleAmount & value

Richard Bair richard.bair at
Mon Sep 2 16:40:56 PDT 2013

Oh interesting, I always considered visibleAmount as being an independent state that affected the size of the scroll bar thumb, but not really anything more. The reason why was for virtualized uses like with ListView where the height of the thumb might change as you scroll.

On Sep 2, 2013, at 1:38 PM, Tom Schindl <tom.schindl at> wrote:

> 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