Dynamically resizing a scrollbar?

Hi! I’ve made classes to manage scrollers, scrollbuttons, sliders/scrollbars & co. All fine.

Now I’d like to have my scrollbars to dynamically adapt to the scollbox’s content height (or width). Just like the browser scrollbars (or more in general, ordinary applications). Do you maybe know what’s the right path to follow to do it? How can I determine for example, the min and max height that my scrollbar can reach?

Any suggestions? :slight_smile: