player.scrollOffsetX
player.scrollOffsetXJavaScript
player.scrollOffsetXJSON
Player.ScrollOffsetX.net
player.scrollOffsetXAndroid
Description​
The X-offset to add when scrolling. 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 X-offset that is added to the scroll position.
- JavaScript
- C#
- Kotlin
scrollOffsetX: number = 0;
double ScrollOffsetX { get; set; } = 0
var scrollOffsetX: Double = 0