ScrollPane - transparent track issue

Pedro Duque Vieira pedro.duquevieira at
Wed Jun 6 13:44:52 PDT 2012

I don't think my message went through, probably didn't explain myself well.
Here is a picture of the problem:

I'm using javafx 2.1 and I also tried setting the track visibility to
hidden which doesn't do anything.

Thanks, best regards,

On Wed, Jun 6, 2012 at 12:38 AM, Pedro Duque Vieira <
pedro.duquevieira at> wrote:

> Hi,
> 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

Pedro Duque Vieira

More information about the openjfx-dev mailing list