- Home /
Question by
HammerBG · May 09, 2013 at 12:23 PM ·
guiguitexturescrollviewskinbeginscrollview
GUI.BeginScrollView - How to customize the vertical scroller to add padding.
Hey there :)
I have a question about the scrollview component in the unity gui. Basically i want to customize the vertical scrollbar of the gui. One of the customizations is the ability to be able to position the vertical scrollbar wherever i want on my screen. In my case i need an offset in X+70.
I have tried changing the GUI.skin.verticalScrollbar.padding but then only the active component of the scrollbar gets padded, the normal (grayish background) doesnt get padded, and it looks like a pig pile of p*o.
The other thing that i need changed is the texture of the scrollbar, but i think this one should be relatively simple (GUI.skin.verticalScrollbar.normal/active.background) after i figure out how to pad the scrollbar itself.
Any ideas?
Comment