Viewport scrollbars positioning


Is there a way to position scrollbars in a viewport, or resize them? I want to add zoom buttons right next (or underneath), it seems like I’ll have to write my own viewport class?


No, the Viewport is pretty hard-coded to have them in their current positions, it’s not designed to let you rearrange them.


I did it subclassing Viewport and positioning/resizing the scrollbars and the other stuff in the overrided visibleAreaChanged method.