Hello everyone I’m currently prototyping an inventory system with 2 slots I got the inventory part in control but I’m struggling to find a way to scroll to different slots.
The wheel axis values stops at 4 and loop back at 0.
So basically each slot is a Button, I’ve currently setup a variable to get the wheelaxis value, now I send the value to the WidjetBp. Depending on if the value is even for the second slot or odd for the first I set the select slot.
My goal is to be able to Scroll through the inventory with the mouse wheel.
My problem How do I scroll ?
If something is unclear please let me know its been a while now so I pretty determined to find a solution :Y
I finally got it solved with a set button style if you’d like more information just text me here ill help you out !
To reinvent the wheel is to attempt to duplicate—most likely with inferior results—a basic method that has already previously been created or optimized by others.
The inspiration for this idiomatic metaphor is that the wheel is an ancient archetype of human ingenuity (one so profound that it continues to underlie much of modern technology). As it has already been invented and is not considered to have any inherent flaws, an attempt to reinvent it would add no value to it and be a waste of time...
I know you’ve figured out a solution already, but there is a
much easier way to do select-able widget scrolling.
The “List View” widget is designed to contain any amount of selectable custom widgets. It also supports wrapping and scrolling.
Now, the ListView widget is difficult to understand initially, but I found that the answer to this thread helps clarify its proper usage:
TL;DR How do I feed the data into the generated child widgets? What I’ve tried / done so far: (I refer to this widget, if you’re wondering) I have a widget called item (Will be the children in the List View) that needs to display two data...
Reading time: 2 mins 🕑
Likes: 1 ❤
One downside, though, is it’s impossible to change its styling without using C++.
Hope this helps!