- Home /
Scroll View not scrolling
Hi,
So I've been trying to create a scrollable text using Scroll View, but I'm having trouble with making it able to actually scroll through the text.
I created a Panel, added Scroll View as the child and added the Content Size Fitter and Vertical Layout Group components to the Content object inside the Viewport (which is a child of Scroll View) as follows:
I then created a Text object and added this as the child of the Content object. However, when I run the game, the correct scrollbar appears (vertical), but I am not able to scroll at all.
The hierarchy looks like this at the moment:
What am I doing wrong? I'm very frustrated at the moment. Any help appreciated.
Did you ever find a solution to this? I'm trying to do basically the exact same thing (except on Hololens using $$anonymous$$ixedRealityToolkit) and I have the same problem. I have been able to scroll by clicking on the scroll bar on empty spots, but I can do a click-drag.
Answer by dev-waqas · Jan 18, 2018 at 08:37 PM
Looks like you are missing Event System. Add a event system.