- Home /
Suppress Horizontal Scrollbar?
Is it possible to suppress the horizontal scrollbar in GUI.ScrollView completely?
Answer by Bunny83 · Jun 29, 2011 at 09:48 AM
As far as i know it's not possible. Well, you can use an GUIStyle without images but the function is still there. Another way would be to use two nested GUI.BeginGroup with one GUI.VerticalScrollbar and implement the scrolling yourself.
edit
I've written a quick implementation of such a scrollview. Not yet finished but it works.
does this work with GUI.Skin? is there a way to convert gui.skin to gui.style?
A GUISkin is just a collection of GUIStyles. I will add a version that uses the default styles from the current skin.
Answer by Kristijonas · Aug 24, 2016 at 11:37 AM
set "with" to 0 (example is with vertical , but still)