ScrollPane - transparent track issue
dukkeJun 5 2012 — edited Jun 6 2012Hi,
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,
P.S: I'm using javafx 2.1.
I've already tried:
.scroll-bar .track {
visibility: hidden;
}
with no success.