TextEditor Scrollbar Customization


#1

I hope this isn't a stupid question.

I just recently started playing with Juce... great work, Jules! So far, it has far exceeded my expectations and replaced Qt as my cross-platform GUI of choice.

In one of my programs, I was trying to figure out how to set a finite width of the TextEditor, but keep the Scrollbar on the right side of the window, regardless of the window size. In other words, is there a way for me to either set the position of the Scrollbar, or set a gap between the text and the scrollbar on the right side?


#2

Not sure we do anything like that, it seems a little obscure!


#3

It's a bit obscure, and not a deal-breaker, but it would be nice to find a way to do it without having to re-invent the TextEditor component.