You must be registered to see the links
doc:
"
yadjustment
The ui.adjustment() used for the y-axis of the viewport. When omitted, a new adjustment is created."
Therefore, you need to create your own
You must be registered to see the links
object outside of the screen:
define myAdjust = ui.adjustment( [the values relevant for your case] )
Then use it in your viewport:
Code:
screen whatever():
[...]
viewport:
yadjusment myAdjust
[...]
And
normally it should works like you want.