- Home /
How to hide scrollbar on side of the view
I have large lable content. I used scrollview for scroll the content. But when i use below i'm getting scroll, but the side of the view showing scroll. I need to hide this. And when i touch the side of the scrollbar then only my content scrolling. I need to scroll the content (lable) instead of scrollbar while i'm scrolling inside the content.
scrollPosition = GUILayout.BeginScrollView(scrollPosition, GUILayout.Width(768), GUILayout.Height(200));
GUILayout.Label(" Cattle are herbivores that eat vegetation such as grass\n\nCattle stomachs have four chambers which help break down what they eat chambers which help break down what they eat\n\nThere are well over 1 billion cattle in the world\n\nYoung cattle are generally known as calves\n\nAdult females are generally called cows\n\nCattle are red/green colour blind", style);
GUILayout.EndScrollView();
Comment
Your answer
Follow this Question
Related Questions
GUIlayout scrollbar, Not working well... 1 Answer
Custom EditorWindow Scrollbars not working with GUILayout areas 1 Answer
Why is my scrollbar not working? 4 Answers
How to scroll label view 0 Answers