ScrollBar in Pyside


Hi everyone !

I’m creating a shader library and i’m trying to create a great user interface. But my problem is that my shaders are in a GridLayout as you can see :

I want to create a scrollBar on the right to travel all the grid vertically. But I don’t know how to do it. I tried with a QScrollArea in a widget but it doesn’t work. Can you help me please ? What is the good way to create a scrollBar ? Because I didn’t find anything on the internet… Thank you !