- Home /
Changing the scale of the scroll view
Hi there,
Is there a way to change the scroll view scale using C#? I want to make the scroll bar have less room if there isn't much on the screen, but if there is lots that I need to show the player I can change the sizeof the scroll view and the bar so they know how much is on the menu.
Thanks :D
I am not quite sure what you mean. Are you saying you have a menu that has items in it, and you want the scroll bar to be large if there are a few items(as the user doesn't need to scroll down to see all the items), and if there are lots of items in the menu for the scroll bar to be smaller so the user can scroll down?
Answer by Lord_meow_Sambo · May 08, 2018 at 03:47 AM
Yes that is what I'm talking about yeah. So how do I do it?
Thank you for understanding!
Your answer
Follow this Question
Related Questions
How do I Make TextMeshPro InputField scroll through code? 0 Answers
Scrollview not showing scroll bar and not scrolling 1 Answer
My scroll view always scrolls to the bottom automatically. 3 Answers
ScrollRect resetting scroll position on content change 6 Answers
Move Dropdown using arrow buttons 0 Answers