Scrollbar border color

Hi,

I’ve been playing with the ScrollBar feature, and I can’t get the border color to change.

In my playground demo (https://playground.babylonjs.com/#13CF95#322) I was able to affect the border thickness, but the Rectangle.color and ScrollBar.borderColor properties weren’t registering any changes.

Thanks.

Welcome to the Babylon community. :joy:

Here’s another example with what I’d think you’d like: https://playground.babylonjs.com/#3EF49E#207

Specifically what I changed was:
sv.thickness = 0; and sv.color = "transparent";

There are tons of properties to the scrollviewer GUI so I’d recommend checking our the doc page specifically if you haven’t already and play around with it.Scroll Viewer | Babylon.js Documentation

Let me know if you have any other questions :slight_smile:

Edit: have it working with your version now too. Is this what you would like? https://playground.babylonjs.com/#13CF95#324

Yes, thanks!

1 Like