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?
DIY Vertical Scrollbar
-
scruffyvoltherder
- Inserter

- Posts: 33
- Joined: Fri Jun 14, 2024 12:33 am
- Contact:
Re: DIY Vertical Scrollbar
Sounds like you want a page view with a number picker. Then show X results at a time and make the player switch pages to see more.
If you want to get ahold of me I'm almost always on Discord.
-
scruffyvoltherder
- Inserter

- Posts: 33
- Joined: Fri Jun 14, 2024 12:33 am
- Contact:
Re: DIY Vertical Scrollbar
Kind of. I need to be a bit more granular than that. More like row-by row. I tried having a horizontal flow with a whole bunch of buttons and no padding, but i wound up with a bunch of really small buttons that are hard to click on with spaces in between them.
Too bad that the slider control can't be made vertical, that would probably work the best.
Too bad that the slider control can't be made vertical, that would probably work the best.
