Viewport scrollbars positioning


#1

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?


#2

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


#3

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