Hi,
I’m trying to use a List View with several items but showing 1 entry widget. Upon key press, the next item will be scrolled into view onto that entry. It starts from the first item.
My code only worked if the List View showed more than 1 entry. I don’t know if I did something wrong or there’s a bug. Would love your feedback if you can try the following steps.
- Create a widget blueprint
- Add a Canvas Panel
- Add a List View to the panel
- Add some items to the List View
- In blueprint, use a key press to scroll the List View starting from the first item
- Shrink the List View to show no more than 1 item and run the code
- Enlarge it to show more than 1 item and run the code
For step 6, I think the intended outcome should be the correct item is partly shown.
For step 7, the entire item should be scrolled into view.