I need to put a lot of buttons on screen in a somewhat small amount of space, so I'm not clogging up the player's entire view.
Unfortunately, the only scrollbar I can find in the game is on a List Item. Lists work fine vertically, but if I use it I have a lot of wasted horizontal space.
So I'm wondering, if there's some kind of dialog item where it has a "visible" height for large it appears on screen, and an "actual" height that you can scroll through.
I just don't want to have to have the user scroll through 100 items on a List.
That's pretty awesome.
I didn't realize that buttons offscreen are still going to exist, and you can push them back on/off again. Sure beats my plan of having a set number of buttons, and updating their values on every click.
I'll see how well I can use this. Thanks.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I need to put a lot of buttons on screen in a somewhat small amount of space, so I'm not clogging up the player's entire view. Unfortunately, the only scrollbar I can find in the game is on a List Item. Lists work fine vertically, but if I use it I have a lot of wasted horizontal space. So I'm wondering, if there's some kind of dialog item where it has a "visible" height for large it appears on screen, and an "actual" height that you can scroll through. I just don't want to have to have the user scroll through 100 items on a List.
There's no built-in way to create a scrolling box.
Will creating rows of buttons and flipping a slider 90 degrees imitate one?
Yes, that might work. You can change the offset of all the buttons when the slider is moved, that would give the illusion of scrolling.
Flipping it 90 doesn't work.
I'm not going to change the offset, I'm just going to have to update the values of every button when 'scrolled'.
I made a prototype of what I meant. It uses buttons to scroll, a slider was too hard :P
That's pretty awesome. I didn't realize that buttons offscreen are still going to exist, and you can push them back on/off again. Sure beats my plan of having a set number of buttons, and updating their values on every click. I'll see how well I can use this. Thanks.