DIY Vertical Scrollbar
Posted: Sun Nov 30, 2025 4:33 am
I'm looking for a way to build a scrollbar with the GUI or some type of vertical version of the slider. Normally i would just use a scroll-pane.
However, I'm working on a mod that displays a large amount of data, and I don't want to have to update elements that aren't visible. Since visibility information for elements and scroll-bar position for scroll panes are unavailable. Since I can't use that, I plan to create and destroy elements based on the position of a vertical slider.
any idea how implement that?
However, I'm working on a mod that displays a large amount of data, and I don't want to have to update elements that aren't visible. Since visibility information for elements and scroll-bar position for scroll panes are unavailable. Since I can't use that, I plan to create and destroy elements based on the position of a vertical slider.
any idea how implement that?