Vertical Scrollbar minHeight
I have a vertical Scrollbar attached to Scroll Rect that can have N-items, and I can easily end up with a scrollbar handle that is 1 pixel (or even less) tall. I've been looking for a way to set a minHeight, and it seemed like setting a custom GUIStyle
on the GUI.skin.verticalScrollbar
in OnGUI()
might have been the way, but those values are either not getting applied, or don't impact the Scrollbar height.
Is there something obvious I might be missing? Is there a way to calculate the height in code that I'm missing?
Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220612111300im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to choose a specific item from “ScrollRect” by pressing “button”? 0 Answers
Force a uGUI scrollbar/scrollrect to stay at the bottom when the scrollrect is expanded 0 Answers
Problems to add an object to a scroll list 0 Answers
Change UI scrollbar speed 1 Answer
How to prevent scroll rect's content from moving after it reached its borders? 0 Answers