In other words, how to make a viewport’s scrollbar moved according to another one.
Here, I have two viewports, one I can use the mouse to roll it’s scrollbar, another one I hope it’s scrollbar can move the same height.
Thanks in advance if anyone can give me some suggestions.
Use setViewPosition (int xPixelsOffset, int yPixelsOffset)
1 Like
Ok, thank you very much, I will try it.
