Skip to main content

player.scrollOffsetY

since 0.9.6

Description​

When alphaTab does an auto-scrolling to the displayed bar, it will try to align the view port to the displayed bar. If due to some layout specifics or for aesthetics a small padding is needed, this setting allows an additional Y-offset that is added to the scroll position.

player.scrollOffsetYJavaScript
player.scrollOffsetYJSON
data-player-scrolloffsetyHTML
Player.ScrollOffsetY.net
player.scrollOffsetYAndroid

Types​

TypeValues
intAll

-10
20

Default Value​

0