ScrollPane - transparent track issue

Pedro Duque Vieira pedro.duquevieira at
Tue Jun 5 16:38:15 PDT 2012


I'm trying to achieve a minimal look in a ScrollPane on a project of mine.
To do this I only want to show the ScrollPane thumbs and nothing else.
One of the things I've done to try to achieve this was to put the
background of the tracks transparent the problem is that what is shown
instead of the track is the ScrollPane background excluding it's contents.
The result is a gap between the scrollpane contents and its edges with the
scrollpane background in between.

I guess that the contents of the scrollpane are only being drawn till the
scrollpane track is reached, what needs to be done to get my problem fixed
is that they need to be drawn all the way till the edges of the scrollpane.

Did I explain my problem clearly enough or do I need to rewrite it?

Thanks in advance, best regards,
Pedro Duque Vieira

More information about the openjfx-dev mailing list